/* Pintasly Design System — Refined Eye-Friendly Layout & Micro-Tuned Palette */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

:root, [data-theme="dark"] {
  /* DARK THEME (Micro-adjusted Soothing Cyber Slate & Lime) */
  --primary-lime: #B8F349;
  --primary-blue: #B8F349;
  --primary-hover: #CEF778;
  --primary-glow: rgba(var(--accent-rgb), 0.28);
  --primary-light: rgba(var(--accent-rgb), 0.14);
  --primary-extra-light: rgba(var(--accent-rgb), 0.07);

  /* RGB triplet of the accent color (used by hardcoded rgba() tints / glows
     so light mode can flip the whole accent system to black). */
  --accent-rgb: 184, 243, 73;

  /* Green "label" palette — small pills/badges/section labels keep the lime
     accent in dark mode; in light mode they flip to a readable leaf-green. */
  --label-green: #B8F349;
  --label-green-bg: rgba(184, 243, 73, 0.14);
  --label-green-soft: rgba(184, 243, 73, 0.08);
  --label-green-border: rgba(184, 243, 73, 0.35);
  --label-heading: var(--text-primary);

  --antigravity-indigo: #B8F349;
  --antigravity-violet: #97E022;
  --antigravity-purple: #CEF778;
  --antigravity-cyan: #B8F349;
  
  --bg-main: #0B0F19;
  --bg-surface: rgba(16, 23, 38, 0.88);
  --bg-sidebar: #101726;
  --bg-card: #151E2E;
  --bg-hover: #1D283C;
  --bg-selected: rgba(var(--accent-rgb), 0.15);
  --bg-glass: rgba(21, 30, 46, 0.85);
  --sidebar-glass: rgba(16, 23, 38, 0.55);
  --sidebar-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);

  /* Glassmorphism surfaces (landing page background model) */
  --glass-bg: rgba(13, 18, 30, 0.52);
  --glass-bg-strong: rgba(13, 18, 30, 0.72);
  --glass-border: rgba(255, 255, 255, 0.10);
  --glass-highlight: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 12px 40px -8px rgba(0, 0, 0, 0.45);

  --border-primary: #1E293B;
  --border-secondary: #172033;
  --border-card: #1E293B;
  --border-glow: rgba(var(--accent-rgb), 0.32);

  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-disabled: #475569;

  --badge-bg: #1E293B;
  --badge-text: #94A3B8;
  --btn-sec-bg: #101726;
  --btn-sec-text: #F8FAFC;
  --btn-sec-border: #B8F349;
  --btn-pri-bg: #B8F349;
  --btn-pri-text: #0B0F19;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.4), 0 2px 6px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 20px 50px -10px rgba(0, 0, 0, 0.5), 0 8px 20px rgba(0, 0, 0, 0.35);

  --bg-gradient: radial-gradient(circle at 50% -10%, rgba(var(--accent-rgb), 0.09) 0%, transparent 65%), radial-gradient(circle at 90% 60%, rgba(var(--accent-rgb), 0.03) 0%, transparent 50%);
}

[data-theme="light"] {
  /* LIGHT THEME — Black Primary Accents, Neutral White Backgrounds;
     labels/badges still use green via --label-green tokens */
  --primary-lime: #000000;
  --primary-blue: #000000;
  --primary-hover: #1F2937;
  --primary-glow: rgba(15, 23, 42, 0.28);
  --primary-light: rgba(15, 23, 42, 0.14);
  --primary-extra-light: rgba(15, 23, 42, 0.07);
  --accent-rgb: 15, 23, 42;

  --label-green: #B6DA0F;
  --label-green-bg: rgba(182, 218, 15, 0.14);
  --label-green-soft: rgba(182, 218, 15, 0.10);
  --label-green-border: rgba(182, 218, 15, 0.35);
  --label-heading: var(--text-primary);

  --antigravity-indigo: #0F172A;
  --antigravity-violet: #334155;
  --antigravity-purple: #0F172A;
  --antigravity-cyan: #475569;
  
  --bg-main: #F7F8FA;
  --bg-surface: rgba(252, 253, 255, 0.96);
  --bg-sidebar: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-hover: #F1F4F8;
  --bg-selected: rgba(203, 213, 225, 0.40);
  --bg-glass: rgba(255, 255, 255, 0.90);
  --sidebar-glass: rgba(255, 255, 255, 0.72);
  --sidebar-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);

  /* Glassmorphism surfaces (landing page background model) */
  --glass-bg: rgba(255, 255, 255, 0.45);
  --glass-bg-strong: rgba(255, 255, 255, 0.74);
  --glass-border: rgba(200, 210, 230, 0.55);
  --glass-highlight: rgba(255, 255, 255, 0.95);
  --glass-shadow: 0 12px 40px -8px rgba(15, 23, 42, 0.12);

  --border-primary: #E4E9F0;
  --border-secondary: #EEF2F7;
  --border-card: #E4E9F0;
  --border-glow: rgba(15, 23, 42, 0.32);

  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --text-disabled: #94A3B8;

  --badge-bg: #EEF2F7;
  --badge-text: #475569;
  --btn-sec-bg: #FFFFFF;
  --btn-sec-text: #0F172A;
  --btn-sec-border: #B6DA0F;
  --btn-pri-bg: #000000;
  --btn-pri-text: #FFFFFF;

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px -4px rgba(15, 23, 42, 0.06), 0 2px 6px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 20px 50px -10px rgba(15, 23, 42, 0.10), 0 8px 20px rgba(15, 23, 42, 0.04);

  --bg-gradient: radial-gradient(circle at 50% -10%, rgba(226, 232, 240, 0.60) 0%, transparent 60%), radial-gradient(circle at 90% 60%, rgba(203, 213, 225, 0.25) 0%, transparent 50%);
}


:root {
  --status-success: #84CC16;
  --status-warning: #EAB308;
  --status-danger: #EF4444;
  --status-info: #0EA5E9;

  --radius-card: 20px;
  --radius-btn: 9999px;
  --radius-pill: 9999px;
  --radius-input: 16px;
  --radius-badge: 9999px;

  --sidebar-width: 270px;
  --topbar-height: 72px;
  --font-family-sans: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

body {
  font-family: var(--font-family-sans);
  background: var(--bg-main);
  background-image: var(--bg-gradient);
  color: var(--text-primary);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: var(--border-primary);
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-lime);
}

/* Layout Containers */
.app-container {
  display: flex;
  min-height: 100vh;
  width: 100vw;
  background: transparent;
}

/* Collapsible Floating Sidebar */
.sidebar {
  width: var(--sidebar-width);
  background: var(--sidebar-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 24px;
  border: 1px solid var(--border-primary);
  box-shadow: var(--sidebar-shadow);
  display: flex;
  flex-direction: column;
  height: calc(100vh - 32px);
  position: sticky;
  top: 16px;
  margin: 16px 0 16px 16px;
  z-index: 40;
  flex-shrink: 0;
  padding: 22px 16px;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease, background-color 0.3s ease;
}

.sidebar.collapsed {
  width: 76px;
  padding: 22px 10px;
  align-items: center;
}

.sidebar-toggle-btn {
  position: absolute;
  top: 50%;
  right: -18px;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1.5px solid var(--border-primary);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 50;
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.sidebar-toggle-btn:hover {
  background: var(--primary-lime);
  color: #FFFFFF;
  border-color: var(--primary-lime);
  transform: scale(1.15);
}

/* Collapsed Sidebar Rail Navigation Item */
.collapsed-nav-item {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}

.collapsed-nav-item:hover {
  background-color: var(--bg-hover);
  color: var(--text-primary);
  transform: scale(1.05);
}

.collapsed-nav-item.active {
  background: var(--btn-pri-bg);
  color: #FFFFFF !important;
  box-shadow: 0 4px 14px rgba(var(--accent-rgb), 0.3);
}

.collapsed-nav-item.active i {
  color: #FFFFFF !important;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 8px 12px 8px;
  border-bottom: 1px solid var(--border-secondary);
}

.brand-icon {
  width: 42px;
  height: 42px;
  background: var(--btn-pri-bg);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--btn-pri-text);
  box-shadow: 0 8px 20px rgba(var(--accent-rgb), 0.25);
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.sidebar-primary-btn {
  margin-top: 20px;
  margin-bottom: 24px;
  width: 100%;
  height: 48px;
  background: var(--btn-pri-bg);
  color: var(--btn-pri-text);
  border: none;
  border-radius: var(--radius-btn);
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 20px rgba(var(--accent-rgb), 0.2);
}

.sidebar-primary-btn:hover {
  transform: translateY(-2px) scale(1.01);
  background: var(--primary-hover);
  box-shadow: 0 12px 28px rgba(var(--accent-rgb), 0.3);
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  overflow-y: auto;
}

.nav-section-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  padding: 8px 14px 4px 14px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 14px;
  border-radius: 9999px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}

.nav-item:hover {
  background-color: var(--bg-hover);
  color: var(--text-primary);
  transform: translateX(2px);
}

.nav-item.active {
  background: var(--btn-pri-bg);
  color: var(--btn-pri-text);
  font-weight: 800;
  border: 1.5px solid transparent;
  box-shadow: 0 4px 14px rgba(var(--accent-rgb), 0.22);
}

.nav-item .badge {
  margin-left: auto;
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 9999px;
  background-color: var(--primary-light);
  color: var(--text-primary);
  font-weight: 800;
}

.nav-item.active .badge {
  background-color: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
}

[data-theme="light"] .nav-item .badge {
  background-color: rgba(182, 218, 15, 0.14);
  color: #B6DA0F;
}

/* Sidebar Quick Actions Card */
.sidebar-actions-card {
  margin-top: 16px;
  margin-bottom: 12px;
  padding: 14px;
  border-radius: 18px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-primary);
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.sidebar-actions-card .btn-secondary {
  border: 1.5px solid var(--btn-sec-border);
  color: var(--text-primary);
  background: transparent;
}

.sidebar-actions-card .btn-secondary:hover {
  background: var(--primary-light);
  border-color: var(--primary-lime);
}

/* User Footer Card */
.sidebar-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-top: 1px solid var(--border-secondary);
  margin-top: auto;
  border-radius: 16px;
  background: var(--bg-card);
  cursor: pointer;
  transition: all 0.2s ease;
}

.sidebar-user:hover {
  background: var(--bg-secondary);
  border-color: var(--border-primary);
  transform: translateY(-1px);
}

.sidebar-user.active {
  background: var(--bg-secondary);
  border: 1px solid var(--primary-lime);
  box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.15);
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--btn-pri-bg);
  color: var(--btn-pri-text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(var(--accent-rgb), 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.user-avatar.active-avatar {
  box-shadow: 0 0 0 2px var(--primary-lime);
}

.top-user-avatar {
  transition: transform 0.2s ease;
}

.top-user-avatar:hover {
  transform: scale(1.08);
}

.user-info {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.user-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.user-plan {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Main Workspace Area */
.main-workspace {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100vh;
  background: transparent;
}

.top-header {
  height: auto;
  min-height: 56px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  z-index: 30;
  position: relative;
  margin: 0;
}

.top-header-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 14px;
  letter-spacing: -0.02em;
}

.top-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 6px 8px 6px 14px;
  border-radius: 9999px;
  border: 1.5px solid var(--border-primary);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 16px;
  z-index: 35;
  transition: all 0.25s ease;
}

.top-header-actions:hover {
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-lime);
}

.top-header-actions .btn-secondary {
  border: 1.5px solid var(--btn-sec-border);
  color: var(--text-primary);
  background: transparent;
  box-shadow: none;
}

.top-header-actions .btn-secondary:hover {
  background: var(--primary-light);
  border-color: var(--primary-lime);
  color: var(--text-primary);
  transform: translateY(-1px);
}

/* Theme Toggle Button */
.theme-toggle-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-hover);
  border: 1.5px solid var(--border-primary);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.theme-toggle-btn:hover {
  background: var(--btn-pri-bg);
  color: var(--btn-pri-text);
  border-color: var(--btn-pri-bg);
  transform: rotate(20deg) scale(1.08);
}

/* Antigravity Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: var(--radius-btn);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
  outline: none;
  white-space: nowrap;
  font-family: inherit;
  touch-action: manipulation;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  will-change: transform;
}

.btn:active {
  transform: scale(0.96) !important;
  opacity: 0.92;
  transition: transform 0.05s ease, opacity 0.05s ease !important;
}

.btn-primary {
  background: var(--btn-pri-bg);
  color: var(--btn-pri-text);
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(var(--accent-rgb), 0.22);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--primary-hover);
  box-shadow: 0 10px 26px rgba(var(--accent-rgb), 0.32);
}

/* Light mode: only the primary CTA buttons flip to black with white text;
   the shared --btn-pri-bg token stays lime so nav/brand/chips remain an accent */
[data-theme="light"] .btn-primary,
[data-theme="light"] .sidebar-primary-btn,
[data-theme="light"] .auth-primary-btn,
[data-theme="light"] .landing-search-btn,
[data-theme="light"] .landing-hero-cta-primary {
  background: #000000;
  color: #FFFFFF;
}
[data-theme="light"] .btn-primary:hover,
[data-theme="light"] .sidebar-primary-btn:hover,
[data-theme="light"] .auth-primary-btn:hover,
[data-theme="light"] .landing-search-btn:hover,
[data-theme="light"] .landing-hero-cta-primary:hover {
  background: #1F2937;
  color: #FFFFFF;
}

.btn-secondary {
  background: var(--btn-sec-bg);
  color: var(--btn-sec-text);
  border: 1.5px solid var(--border-primary);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--bg-hover);
  border-color: var(--primary-lime);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
}

.btn-ghost:hover {
  background-color: var(--bg-hover);
  color: var(--text-primary);
}

.btn-sm {
  height: 38px;
  padding: 0 16px;
  font-size: 0.85rem;
}

.btn-lg {
  height: 52px;
  padding: 0 30px;
  font-size: 1.02rem;
}

/* Global trigger/action UX polish — applies to every interactive element */
button, a, [role="button"], [onclick] {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
}
.btn:focus-visible {
  outline: 2px solid var(--primary-lime);
  outline-offset: 2px;
}
.btn:disabled,
.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .btn, .btn:hover, .btn:active {
    transition: none !important;
  }
  .reveal, .reveal-left, .reveal-right, .reveal-scale {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Search Bar — Minimal Pill */
.search-box-container {
  position: relative;
  width: 100%;
  border-radius: 9999px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  background: var(--bg-card);
  border: 1.5px solid var(--border-primary);
}

.search-box-container:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  border-color: var(--primary-lime);
}

.search-box {
  flex: 1;
  height: 52px;
  background: transparent;
  border: none;
  border-radius: 9999px;
  padding: 0 0 0 24px;
  font-size: 0.97rem;
  outline: none;
  font-weight: 400;
  color: var(--text-primary);
  font-family: inherit;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-box::placeholder {
  color: var(--text-muted);
  font-weight: 400;
}

.search-box:focus {
  outline: none;
  border-color: var(--primary-lime);
  background: var(--bg-card);
}

.search-box-icon {
  display: none;
}

input.search-box {
  line-height: 52px;
}

.search-action-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: transparent;
  color: var(--primary-lime);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.search-action-btn:hover {
  transform: scale(1.15);
  background: var(--primary-extra-light);
}

/* Search Clear Button (X icon) */
.search-clear-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: transparent;
  color: var(--text-muted);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  margin-right: 6px;
}

.search-clear-btn:hover {
  color: var(--primary-lime);
  background: var(--primary-extra-light);
  transform: scale(1.1);
}

/* AI Search Toggle (Desktop Only) */
.ai-search-toggle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: transparent;
  color: var(--text-muted);
  border: 1.5px solid var(--border-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  margin-right: 10px;
}

.ai-search-toggle:hover {
  transform: scale(1.1);
  color: var(--primary-lime);
  border-color: var(--primary-lime);
  background: var(--primary-extra-light);
}

.ai-search-toggle.active {
  color: var(--primary-lime);
  border: 2.5px solid var(--primary-lime);
  background: var(--primary-extra-light);
  animation: ai-toggle-pulse 1.6s ease-in-out infinite;
}

.ai-search-toggle.active:hover {
  transform: scale(1.1);
  background: var(--primary-extra-light);
}

@keyframes ai-toggle-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(var(--accent-rgb), 0.55);
  }
  50% {
    box-shadow: 0 0 0 9px rgba(var(--accent-rgb), 0);
  }
}

.search-box-container.ai-mode {
  border-color: var(--primary-lime);
}

.search-box-container.ai-mode .search-action-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--primary-lime);
  color: #0A0A0A;
}

.search-box-container.ai-mode .search-action-btn:hover {
  background: var(--primary-lime);
  transform: scale(1.08);
}

/* AI Results Panel */
.ai-results-panel {
  background: var(--bg-card);
  border: 1.5px solid var(--border-primary);
  border-radius: 18px;
  padding: 22px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-md);
}

.ai-result-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.ai-result-card:hover {
  border-color: var(--primary-lime);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

.ai-result-rank {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--primary-extra-light);
  border: 1px solid var(--border-primary);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ai-result-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--primary-extra-light);
  border: 1px solid var(--border-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ai-reason-row {
  display: flex;
  align-items: center;
  gap: 5px;
  background: rgba(163, 230, 53, 0.08);
  border-radius: 8px;
  padding: 5px 10px;
}

.ai-score-pill {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--primary-lime);
  background: var(--primary-extra-light);
  border: 1px solid rgba(163, 230, 53, 0.35);
  padding: 3px 10px;
  border-radius: 9999px;
  white-space: nowrap;
}

/* AI Loading Panel */
.ai-panel {
  border-radius: 18px;
  margin-bottom: 28px;
}

.ai-loading-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
}

.ai-spinner {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 3px solid var(--primary-extra-light);
  border-top-color: var(--primary-lime);
  animation: ai-spin 0.9s linear infinite;
  flex-shrink: 0;
}

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

@media (max-width: 767px) {
  .ai-search-toggle {
    display: inline-flex !important;
    width: 32px !important;
    height: 32px !important;
    margin-right: 8px !important;
  }
  .ai-result-card {
    flex-wrap: wrap;
  }
  .ai-result-card > div:last-child {
    flex-direction: row !important;
    width: 100%;
    justify-content: space-between;
    padding-left: 40px;
  }
}

/* Prompt Chips */
.prompt-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-primary);
  color: var(--text-primary);
  font-size: 0.81rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
}

.prompt-chip:hover {
  transform: translateY(-2px);
  border-color: var(--primary-lime);
  color: var(--text-primary);
  background: var(--bg-selected);
  box-shadow: 0 6px 16px rgba(var(--accent-rgb), 0.18);
}

/* AI Recommendation Chips (assessment-based Gemini picks) */
.ai-rec-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 14px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-primary);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
  max-width: 240px;
}

.ai-rec-chip:hover {
  transform: translateY(-2px);
  border-color: var(--primary-lime);
  background: var(--bg-selected);
  box-shadow: 0 8px 22px rgba(var(--accent-rgb), 0.18);
}

.ai-rec-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 7px;
  background: var(--primary-extra-light);
  color: var(--primary-lime);
  font-size: 0.68rem;
  font-weight: 800;
  flex-shrink: 0;
}

.ai-rec-name {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
}

.ai-rec-score {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 150px;
}

@media (max-width: 767px) {
  .ai-rec-chip {
    max-width: 200px;
  }
}

/* Recommendation Pill */
.gemini-rec-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border-radius: 9999px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-primary);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
}

.gemini-rec-pill:hover {
  transform: translateY(-2px);
  border-color: var(--primary-lime);
  background: var(--bg-selected);
  box-shadow: 0 8px 22px rgba(var(--accent-rgb), 0.18);
}

.gemini-rec-pill.active {
  background: var(--bg-card);
  border: 2px solid var(--primary-lime);
  box-shadow: 0 6px 20px rgba(var(--accent-rgb), 0.22);
}

.gemini-sparkle-icon {
  width: 18px;
  height: 18px;
  color: var(--primary-lime);
  transition: transform 0.3s ease;
}

.gemini-rec-pill.active .gemini-sparkle-icon {
  color: var(--primary-lime);
  filter: drop-shadow(0 0 6px rgba(var(--accent-rgb), 0.6));
}

.gemini-rec-text {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text-primary);
  white-space: nowrap;
}

.gemini-rec-pill.active .gemini-rec-text {
  color: var(--text-primary);
}

/* Category Pill Buttons */
.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 20px;
  border-radius: 9999px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-primary);
  color: var(--text-secondary);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.category-pill:hover {
  background-color: var(--bg-hover);
  color: var(--text-primary);
  border-color: var(--primary-lime);
  transform: translateY(-1px);
}

.category-pill.active {
  background: var(--btn-pri-bg);
  color: var(--btn-pri-text);
  border-color: transparent;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(var(--accent-rgb), 0.22);
}

/* Fresh Custom Dropdown Component */
.custom-dropdown-container {
  position: relative;
  display: inline-block;
  z-index: 50;
}

.custom-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 9999px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-primary);
  color: var(--text-primary);
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.custom-dropdown-trigger:hover,
.custom-dropdown-trigger.active {
  background-color: var(--bg-hover);
  border-color: var(--primary-lime);
  transform: translateY(-1px);
}

.dropdown-chevron {
  transition: transform 0.25s ease;
  color: var(--text-muted);
}

.dropdown-chevron.open {
  transform: rotate(180deg);
  color: var(--primary-lime);
}

.custom-dropdown-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  min-width: 170px;
  max-height: 215px;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid var(--border-primary);
  border-radius: 18px;
  padding: 6px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4), var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: 2px;
  z-index: 250;
  animation: dropdownSlideIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Universal Dropdown Row Limitation: Max 5 rows visible with smooth scrollbar */
.custom-dropdown-menu,
.lang-switcher-menu,
.community-menu,
.compare-picker-list,
.dropdown-menu,
.select-dropdown,
.menu-dropdown {
  max-height: 215px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* Custom subtle scrollbar for dropdown menus */
.custom-dropdown-menu::-webkit-scrollbar,
.lang-switcher-menu::-webkit-scrollbar,
.community-menu::-webkit-scrollbar,
.compare-picker-list::-webkit-scrollbar,
.dropdown-menu::-webkit-scrollbar,
.select-dropdown::-webkit-scrollbar {
  width: 5px;
}

.custom-dropdown-menu::-webkit-scrollbar-track,
.lang-switcher-menu::-webkit-scrollbar-track,
.community-menu::-webkit-scrollbar-track,
.compare-picker-list::-webkit-scrollbar-track,
.dropdown-menu::-webkit-scrollbar-track,
.select-dropdown::-webkit-scrollbar-track {
  background: transparent;
}

.custom-dropdown-menu::-webkit-scrollbar-thumb,
.lang-switcher-menu::-webkit-scrollbar-thumb,
.community-menu::-webkit-scrollbar-thumb,
.compare-picker-list::-webkit-scrollbar-thumb,
.dropdown-menu::-webkit-scrollbar-thumb,
.select-dropdown::-webkit-scrollbar-thumb {
  background: var(--border-primary);
  border-radius: 999px;
}

.custom-dropdown-menu::-webkit-scrollbar-thumb:hover,
.lang-switcher-menu::-webkit-scrollbar-thumb:hover,
.community-menu::-webkit-scrollbar-thumb:hover,
.compare-picker-list::-webkit-scrollbar-thumb:hover,
.dropdown-menu::-webkit-scrollbar-thumb:hover,
.select-dropdown::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

@keyframes dropdownSlideIn {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
}

.dropdown-item:hover {
  background-color: var(--bg-hover);
  color: var(--text-primary);
}

.dropdown-item.active {
  background-color: var(--primary-light);
  color: var(--text-primary);
  font-weight: 800;
}

/* ==============================
   Language Switcher
   ============================== */
.lang-switcher {
  position: relative;
  flex-shrink: 0;
}

.top-theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  background: var(--bg-surface);
  border: 1px solid var(--border-primary);
  border-radius: 9999px;
  color: var(--text-primary);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.top-theme-btn:hover {
  border-color: var(--primary-lime);
  color: var(--primary-lime);
}

.lang-switcher-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  background: var(--bg-surface);
  border: 1px solid var(--border-primary);
  border-radius: 9999px;
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.lang-switcher-btn:hover {
  border-color: var(--primary-lime);
}

.lang-switcher-btn .lang-flag-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.lang-switcher-btn .lang-flag-wrap svg {
  display: block;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(128, 128, 128, 0.25);
}
.lang-switcher-menu .lang-flag-wrap svg {
  display: block;
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(128, 128, 128, 0.25);
}

.lang-switcher-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 170px;
  background: var(--bg-card);
  border: 1px solid var(--border-primary);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 600;
}

.lang-switcher.open .lang-switcher-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-switcher-menu .dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 9px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.lang-switcher-menu .dropdown-item:hover {
  background-color: var(--bg-selected);
  color: var(--text-primary);
}

.lang-switcher-menu .dropdown-item.active {
  background-color: var(--primary-light);
  color: var(--text-primary);
  font-weight: 800;
}

/* ==============================
   Landing Page — Antigravity-Inspired Redesign
   ============================== */

/* ---- Glassmorphism Panels ---- */
.landing-glass {
  background: var(--glass-bg) !important;
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.landing-glass-strong {
  background: var(--glass-bg-strong) !important;
  backdrop-filter: blur(26px) saturate(160%);
  -webkit-backdrop-filter: blur(26px) saturate(160%);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

.landing-glass .card,

.landing-glass-strong .card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px -6px rgba(0, 0, 0, 0.25), inset 0 1px 0 var(--glass-highlight);
}

.landing-glass .curated-tool-card,
.landing-glass-strong .curated-tool-card {
  background: var(--glass-bg);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px -6px rgba(0, 0, 0, 0.22), inset 0 1px 0 var(--glass-highlight);
}

/* ---- Keyframes ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateX(-50%) translateY(-24px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}
@keyframes blink { 50% { opacity: 0; } }
@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(28px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes badgePop {
  from { opacity: 0; transform: scale(0.8) translateY(-8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes neonPulse {
  0%, 100% {
    box-shadow: 0 0 8px rgba(var(--accent-rgb), 0.4), 0 0 24px rgba(var(--accent-rgb), 0.15);
  }
  50% {
    box-shadow: 0 0 18px rgba(var(--accent-rgb), 0.75), 0 0 48px rgba(var(--accent-rgb), 0.3);
  }
}
@keyframes neonBorderSpin {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0) translateX(-50%); opacity: 0.6; }
  50%       { transform: translateY(9px) translateX(-50%); opacity: 1; }
}

/* ==============================
   Loading Screen (boot + app)
   ============================== */
.boot-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--bg-main);
  transition: opacity 0.25s ease;
}
.boot-loader-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Minimalist Spinner Ring */
.loader-ring {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--border-primary);
  border-top-color: var(--primary-lime);
  animation: loaderSpin 0.75s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
.loader-ring::before {
  display: none;
}
.boot-loader-text {
  font-family: 'Poppins', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-transform: none;
  opacity: 0.85;
}
.boot-loader-text::after {
  content: '';
  display: inline-block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  margin-left: 3px;
  background: var(--primary-lime);
  vertical-align: middle;
  animation: loaderPulse 1.2s ease-in-out infinite;
}
[data-theme="light"] .boot-loader-text::after {
  background: var(--primary-blue);
}

@keyframes loaderSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes loaderPulse {
  0%, 100% { opacity: 0.2; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.3); }
}

/* ---- Scroll Reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.revealed { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0; transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-left.revealed { opacity: 1; transform: translateX(0); }
.reveal-right {
  opacity: 0; transform: translateX(40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-right.revealed { opacity: 1; transform: translateX(0); }
.reveal-scale {
  opacity: 0; transform: scale(0.92);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-scale.revealed { opacity: 1; transform: scale(1); }
.reveal-d1 { transition-delay: 0.10s; }
.reveal-d2 { transition-delay: 0.18s; }
.reveal-d3 { transition-delay: 0.26s; }
.reveal-d4 { transition-delay: 0.34s; }
.reveal-d5 { transition-delay: 0.42s; }
.reveal-d6 { transition-delay: 0.50s; }

/* ---- Hero Title ---- */
.landing-hero-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: clamp(2.4rem, 5.8vw, 4.4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

/* ---- Typewriter Cursor ---- */
.typewriter-cursor {
  display: inline-block;
  width: 3px;
  height: 0.85em;
  background: var(--primary-lime);
  margin-left: 4px;
  vertical-align: middle;
  border-radius: 2px;
  animation: blink 0.9s ease-in-out infinite;
  box-shadow: 0 0 12px var(--primary-lime), 0 0 24px rgba(var(--accent-rgb), 0.4);
}

/* ---- Landing Header ---- */
.landing-header {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 20px - 5%);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background: rgba(11, 15, 25, 0.65);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(var(--accent-rgb), 0.12);
  border-radius: 9999px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(255,255,255,0.04);
  transition: opacity 0.3s ease, transform 0.3s ease;
  animation: fadeInDown 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@media (min-width: 769px) {
  .landing-header.hide-on-footer {
    opacity: 0;
    transform: translateX(-50%) translateY(-20px);
    pointer-events: none;
  }
}

[data-theme="light"] .landing-header {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

/* ---- Nav Links ---- */
.landing-nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}
.landing-nav-link:hover {
  color: var(--text-primary);
  background: var(--bg-hover);
}

/* Footer sublinks: flush left */
.landing-footer-grid ul a {
  display: inline-block;
  padding: 2px 0;
  border-radius: 0;
  text-align: left;
}
.landing-footer-grid ul a:hover {
  background: none;
  color: var(--primary-lime);
}

/* ---- Hero Badge ---- */
.landing-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  border-radius: 9999px;
  background: rgba(var(--accent-rgb), 0.1);
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  color: var(--primary-lime);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
  animation: badgePop 0.6s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both;
  box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.15);
}
.landing-hero-badge .badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary-lime);
  box-shadow: 0 0 8px var(--primary-lime);
  animation: neonPulse 2s ease-in-out infinite;
}

/* ---- Stat Chips ---- */
.landing-stat-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  animation: heroFadeIn 0.8s 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.landing-stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 9999px;
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 20px -4px rgba(0,0,0,0.3), inset 0 1px 0 var(--glass-highlight);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.landing-stat-chip:hover {
  transform: translateY(-4px);
  border-color: var(--primary-lime);
  box-shadow: 0 10px 28px -4px rgba(0,0,0,0.35), 0 0 16px rgba(var(--accent-rgb), 0.2), inset 0 1px 0 var(--glass-highlight);
}
.landing-stat-chip .stat-num {
  color: var(--primary-lime);
  font-size: 0.95rem;
  font-weight: 900;
  font-family: 'Poppins', sans-serif;
  text-shadow: 0 0 10px rgba(var(--accent-rgb), 0.5);
}

/* ---- Scroll Indicator ---- */
.landing-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  animation: scrollBounce 2.2s ease-in-out infinite;
  opacity: 0.55;
  transition: opacity 0.2s;
  cursor: default;
}
.landing-scroll-indicator .scroll-line {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--primary-lime), transparent);
}
.landing-scroll-indicator .scroll-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary-lime);
  box-shadow: 0 0 8px var(--primary-lime);
}

/* ---- Search Bar ---- */
.landing-search-container {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid var(--glass-border);
  border-radius: 9999px;
  box-shadow: var(--glass-shadow), inset 0 1px 0 var(--glass-highlight);
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}
.landing-search-container:hover,
.landing-search-container:focus-within {
  border-color: var(--primary-lime);
  box-shadow: 0 0 0 3px var(--primary-light), 0 0 28px rgba(var(--accent-rgb), 0.15), var(--glass-shadow), inset 0 1px 0 var(--glass-highlight);
}
.landing-search-box {
  flex: 1;
  height: 64px;
  background: transparent;
  border: none;
  outline: none;
  padding: 0 14px 0 24px;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text-primary);
  font-family: inherit;
}
.landing-search-box::placeholder {
  color: var(--text-muted);
  font-weight: 400;
}
.landing-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 48px;
  padding: 0 24px;
  margin-right: 8px;
  background: var(--btn-pri-bg);
  color: var(--btn-pri-text);
  border: none;
  border-radius: 9999px;
  font-size: 0.92rem;
  font-weight: 800;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  box-shadow: 0 4px 20px rgba(var(--accent-rgb), 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  animation: neonPulse 3s ease-in-out infinite;
}
.landing-search-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 28px rgba(var(--accent-rgb), 0.55);
}

/* ---- Chips ---- */
.landing-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 15px;
  border-radius: 9999px;
  background: var(--glass-bg);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 18px -4px rgba(0, 0, 0, 0.2), inset 0 1px 0 var(--glass-highlight);
}
.landing-chip:hover {
  transform: translateY(-3px);
  border-color: var(--primary-lime);
  color: var(--text-primary);
  background: rgba(var(--accent-rgb), 0.08);
  box-shadow: 0 8px 22px rgba(var(--accent-rgb), 0.2), inset 0 1px 0 var(--glass-highlight);
}
.landing-chip.gemini-active {
  border-color: var(--primary-lime);
  color: var(--text-primary);
  background: var(--primary-extra-light);
  font-weight: 700;
  box-shadow: 0 0 0 2px rgba(var(--accent-rgb), 0.15), var(--shadow-sm);
}
.landing-chip.gemini-active:hover {
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.22), 0 6px 16px rgba(var(--accent-rgb), 0.22);
}

/* ---- Feature Cards (enhanced) ---- */
.landing-feature-card {
  padding: 28px 24px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  box-shadow: 0 8px 32px -6px rgba(0, 0, 0, 0.25), inset 0 1px 0 var(--glass-highlight);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}
.landing-feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(var(--accent-rgb), 0.06), transparent 60%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.landing-feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--accent-rgb), 0.4);
  box-shadow: 0 20px 56px -8px rgba(0, 0, 0, 0.4),
              0 0 0 1px rgba(var(--accent-rgb), 0.18),
              inset 0 1px 0 var(--glass-highlight);
}
.landing-feature-card:hover::before { opacity: 1; }
.landing-feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  background: rgba(var(--accent-rgb), 0.12);
  border: 1px solid rgba(var(--accent-rgb), 0.2);
  color: var(--primary-lime);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 0 14px rgba(var(--accent-rgb), 0.14);
}
.landing-feature-card:hover .landing-feature-icon {
  background: rgba(var(--accent-rgb), 0.2);
  box-shadow: 0 0 24px rgba(var(--accent-rgb), 0.35);
  transform: scale(1.1);
}

/* ---- Section Headers ---- */
.landing-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: rgba(var(--accent-rgb), 0.1);
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  color: var(--primary-lime);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.landing-section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
  color: var(--text-primary);
}
.landing-section-sub {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ---- CTA Section (animated gradient border) ---- */
.landing-cta-section {
  position: relative;
  border-radius: 28px;
  padding: 3px;
  background: linear-gradient(135deg,
    rgba(var(--accent-rgb), 0.55),
    rgba(255,255,255,0.1) 40%,
    rgba(var(--accent-rgb), 0.3) 70%,
    rgba(var(--accent-rgb), 0.65));
  background-size: 300% 300%;
  animation: neonBorderSpin 6s ease infinite;
  overflow: hidden;
}
.landing-cta-inner {
  background: var(--bg-main);
  border-radius: 26px;
  padding: 64px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.landing-cta-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% -20%, rgba(var(--accent-rgb), 0.12) 0%, transparent 65%);
  pointer-events: none;
}

/* ---- Brand Icon inside Landing Search Bar ---- */
.landing-search-brand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--btn-pri-bg);
  color: var(--btn-pri-text);
  margin-left: 12px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(var(--accent-rgb), 0.3);
}

/* ==============================
   Google Login Modal
   ============================== */
.google-login-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  padding: 20px;
  overflow-y: auto;
}

@keyframes overlayFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.google-login-modal {
  background: var(--bg-card);
  border: 1.5px solid var(--border-primary);
  border-radius: 28px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5), 0 8px 24px rgba(0,0,0,0.3);
  padding: 40px 36px 32px 36px;
  width: 100%;
  max-width: 420px;
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  margin: auto;
  position: relative;
}

/* Tool detail card popup: keep it usable on phones (bookmark page, etc.) */
@media (max-width: 600px) {
  .modal-overlay {
    padding: 12px;
  }
  .modal-window {
    max-height: calc(100dvh - 24px);
    border-radius: 20px;
  }
  .modal-window .modal-header {
    flex-wrap: wrap;
    gap: 8px;
  }
  .tool-modal-grid {
    grid-template-columns: 1fr !important;
  }
  .tool-modal-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }
  .tool-modal-footer .btn {
    width: 100%;
    justify-content: center;
  }
  .tool-modal-header,
  .modal-window .modal-body,
  .tool-modal-footer {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .modal-header .modal-title {
    font-size: 1.05rem !important;
  }
}

/* Responsive auth/recovery popup (incl. set-new-password) */
@media (max-width: 480px) {
  .google-login-overlay {
    padding: 14px;
  }
  .google-login-modal {
    padding: 28px 20px 24px 20px;
    border-radius: 24px;
    max-height: calc(100dvh - 28px);
  }
  .google-login-modal .google-login-brand-icon {
    width: 52px;
    height: 52px;
  }
  .google-login-close {
    top: 12px;
    right: 12px;
    width: 30px;
    height: 30px;
  }
}

/* Short viewports (phone landscape, small laptops): keep the popup compact
   and scrollable instead of letting it overflow the screen. */
@media (max-height: 600px) {
  .google-login-modal {
    padding-top: 24px;
    padding-bottom: 20px;
  }
  .google-login-modal .google-login-brand-icon {
    display: none;
  }
  .google-login-modal h2 {
    margin-top: 8px;
  }
}

@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.google-login-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-hover);
  border: 1px solid var(--border-primary);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.google-login-close:hover {
  background: var(--status-danger);
  color: #fff;
  border-color: var(--status-danger);
  transform: scale(1.1);
}

.google-login-brand-icon {
  width: 64px;
  height: 64px;
  background: var(--btn-pri-bg);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--btn-pri-text);
  margin: 0 auto;
  box-shadow: 0 8px 24px rgba(var(--accent-rgb), 0.35);
  animation: brandPulse 2.5s ease-in-out infinite;
}

@keyframes brandPulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(var(--accent-rgb), 0.35); }
  50%       { box-shadow: 0 8px 32px rgba(var(--accent-rgb), 0.55); }
}

.google-signin-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  height: 52px;
  background: #fff;
  color: #3c4043;
  border: 1.5px solid #dadce0;
  border-radius: 12px;
  font-size: 0.96rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.google-signin-btn:hover {
  background: #f8f9fa;
  border-color: #c0c2c5;
  box-shadow: 0 6px 20px rgba(0,0,0,0.16);
  transform: translateY(-1px);
}

.google-login-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 18px 0;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.google-login-divider::before,
.google-login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-primary);
}

.google-email-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 52px;
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-primary);
  border-radius: 12px;
  font-size: 0.96rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.google-email-btn:hover {
  background: var(--bg-hover);
  border-color: var(--primary-lime);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(var(--accent-rgb), 0.14);
}

.auth-field-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.auth-field {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-field-icon {
  position: absolute;
  left: 14px;
  width: 17px;
  height: 17px;
  color: var(--text-muted);
  pointer-events: none;
  z-index: 1;
}

.auth-input {
  width: 100%;
  height: 46px;
  padding: 0 44px 0 42px;
  background: var(--bg-hover);
  color: var(--text-primary);
  border: 1.5px solid var(--border-primary);
  border-radius: 12px;
  font-size: 0.92rem;
  font-family: inherit;
  outline: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-input::placeholder {
  color: var(--text-muted);
  font-weight: 400;
}

.auth-input:focus {
  border-color: var(--primary-lime);
  box-shadow: 0 0 0 3px var(--primary-light);
  background: var(--bg-card);
}

.auth-pw-toggle {
  position: absolute;
  right: 6px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.auth-pw-toggle:hover {
  background: var(--bg-card);
  color: var(--text-primary);
}

.auth-primary-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 52px;
  background: linear-gradient(135deg, #C4F25C, var(--btn-pri-bg));
  color: #101418;
  border: none;
  border-radius: 12px;
  font-size: 0.96rem;
  font-weight: 800;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(var(--accent-rgb), 0.3);
}

.auth-primary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 30px rgba(var(--accent-rgb), 0.42);
}

.auth-primary-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 14px rgba(var(--accent-rgb), 0.3);
}


/* Mouse Drag to Scroll Horizontal Containers */
.drag-scroll-container {
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.drag-scroll-container::-webkit-scrollbar {
  display: none;
}

.drag-scroll-container.is-dragging {
  cursor: grabbing !important;
}

.drag-scroll-container.is-dragging * {
  cursor: grabbing !important;
  pointer-events: none !important;
}


/* Cards System (20px radius, smooth padding & hover) */
.card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid var(--border-primary);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-md);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 24px;
  position: relative;
  overflow: hidden;
  color: var(--text-primary);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-lime);
}

/* Badges System */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-badge);
  font-size: 0.76rem;
  font-weight: 700;
  white-space: nowrap;
}

.badge-blue {
  background-color: var(--primary-light);
  color: var(--text-primary);
  border: 1px solid rgba(var(--accent-rgb), 0.25);
}

.badge-green {
  background-color: var(--primary-light);
  color: var(--text-primary);
}

.badge-orange {
  background-color: rgba(234, 179, 8, 0.18);
  color: #EAB308;
}

.badge-purple {
  background-color: var(--primary-light);
  color: var(--text-primary);
}

.badge-gray {
  background-color: var(--badge-bg);
  color: var(--badge-text);
}

.match-badge {
  background: var(--primary-light);
  color: var(--text-primary);
  border: 1px solid var(--primary-lime);
  font-weight: 800;
}

/* Light mode: match & status label pills/badges keep the green accent */
[data-theme="light"] .match-pill {
  background: var(--label-green-soft);
  color: var(--label-green);
  border: 1px solid var(--label-green-border);
}
[data-theme="light"] .match-badge {
  background: var(--label-green-bg);
  color: var(--label-green);
  border-color: var(--label-green);
}
[data-theme="light"] .badge-blue,
[data-theme="light"] .badge-green,
[data-theme="light"] .badge-purple {
  background-color: var(--label-green-bg);
  color: var(--label-green);
  border-color: var(--label-green-border);
}
[data-theme="light"] .cmp-section-title i,
[data-theme="light"] .cmp-section-title svg {
  color: var(--label-green);
}

/* Verified User Badge — flat grey Lucide icon (badge-check) */
.verified-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  flex-shrink: 0;
  margin-left: 3px;
  color: var(--text-muted);
  transition: color 0.15s ease;
}
.verified-badge:hover {
  color: var(--text-secondary);
}
[data-theme="light"] .verified-badge {
  color: #94A3B8;
}

/* Modals — always the topmost layer above everything else (nav, dropdowns, toasts) */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100000;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

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

/* Ensure modal window stacks above overlay and other layers */
.modal-window {
  position: relative;
  z-index: 100002;
}

.modal-window {
  background: var(--bg-card);
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
  border: 1.5px solid var(--border-primary);
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.96);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  color: var(--text-primary);
}

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

.modal-header {
  padding: 24px 28px;
  border-bottom: 1px solid var(--border-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}

.modal-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text-primary);
}

.modal-close:hover {
  background: var(--bg-hover);
  color: var(--text-primary);
}

/* Payment Confirm Modal — Primary Green Theme (All Themes) */
.payment-confirm-card {
  max-width: 440px !important;
  width: 92% !important;
  padding: 0 !important;
  border-radius: 20px !important;
  overflow: hidden !important;
  text-align: center !important;
  box-shadow: var(--shadow-lg) !important;
  background: var(--bg-card) !important;
  border: 1px solid var(--border-primary) !important;
}

.payment-confirm-icon-wrapper {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--primary-extra-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px auto;
  box-shadow: 0 4px 16px var(--primary-glow);
  border: 1px solid var(--primary-glow);
}

.payment-confirm-icon-wrapper i,
.payment-confirm-icon-wrapper svg {
  color: var(--primary-lime) !important;
}

.payment-confirm-email-box {
  background: var(--primary-extra-light);
  border: 1px dashed var(--primary-glow);
  border-radius: 14px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.payment-confirm-email-text {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--primary-lime);
  word-break: break-all;
}

/* Light mode: payment confirm modal uses green accent instead of black */
[data-theme="light"] .payment-confirm-icon-wrapper {
  background: linear-gradient(135deg, rgba(182, 218, 15, 0.14), rgba(182, 218, 15, 0.07));
  box-shadow: 0 4px 16px rgba(182, 218, 15, 0.28);
  border: 1px solid rgba(182, 218, 15, 0.30);
}
[data-theme="light"] .payment-confirm-icon-wrapper i,
[data-theme="light"] .payment-confirm-icon-wrapper svg {
  color: #B6DA0F !important;
}
[data-theme="light"] .payment-confirm-email-box {
  background: rgba(182, 218, 15, 0.09);
  border: 1px dashed rgba(182, 218, 15, 0.40);
}
[data-theme="light"] .payment-confirm-email-text {
  color: #8a9e00;
}

.modal-close:hover {
  background-color: var(--bg-hover);
  color: var(--text-primary);
}

.modal-body {
  padding: 28px;
  flex: 1;
  min-height: 0;
  overflow-y: auto;
}

.modal-footer {
  padding: 20px 28px;
  border-top: 1px solid var(--border-primary);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  background-color: var(--bg-main);
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
  flex-shrink: 0;
}

/* Grid Utilities */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* Curated Tools Grid — Top 12 AI Tools */
.curated-tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.curated-tool-card {
  position: relative;
  background: var(--bg-card);
  border: 1.5px solid var(--border-primary);
  border-radius: 20px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}
.curated-tool-logo {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--border-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.curated-tool-logo img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.curated-tool-fallback {
  font-size: 1.5rem;
  line-height: 1;
  display: none;
}
.curated-tool-rank {
  position: absolute;
  top: 14px;
  right: 16px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  opacity: 0.55;
  z-index: 1;
}
.curated-tool-name {
  font-size: 1rem;
  font-weight: 800;
  margin: 0;
  line-height: 1.3;
  position: relative;
  z-index: 1;
}
.curated-tool-tag {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
  position: relative;
  z-index: 1;
}
.curated-tool-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  position: relative;
  z-index: 1;
}
.curated-tool-rating {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--primary-lime);
}
.curated-tool-price {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-hover);
  padding: 3px 9px;
  border-radius: 9999px;
}

@media (max-width: 1024px) {
  .curated-tools-grid { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

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

@media (max-width: 480px) {
  .curated-tools-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .sidebar {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    height: 100dvh;
    width: min(300px, 85vw);
    margin: 0;
    border-radius: 0 24px 24px 0;
    z-index: 70;
    transform: translateX(-105%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .sidebar.mobile-open { transform: translateX(0); }
  .sidebar .sidebar-toggle-btn { display: none; }
  .mobile-menu-btn { display: inline-flex; }
  .sidebar-close-btn { display: flex; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .top-header { padding: 0 16px; }
}

/* ==============================
   Mobile Navigation (App)
   ============================== */
.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1.5px solid var(--border-primary);
  background: var(--bg-card);
  color: var(--text-primary);
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}
.mobile-menu-btn:hover {
  border-color: var(--primary-lime);
  color: var(--primary-lime);
}

.sidebar-close-btn {
  display: none;
  position: absolute;
  top: 14px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  border: none;
  background: var(--bg-hover);
  color: var(--text-secondary);
  cursor: pointer;
  z-index: 51;
  transition: all 0.2s ease;
}
.sidebar-close-btn:hover {
  color: var(--text-primary);
  background: var(--border-primary);
}

.sidebar-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 65;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.sidebar-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

/* ==============================
   Bottom Navigation (Handphone Only)
   ============================== */
.bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 75;
  background: var(--bg-card);
  border-top: 1px solid var(--border-primary);
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
  justify-content: space-around;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.25);
}
.bottom-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: none;
  border: none;
  padding: 6px 12px;
  border-radius: 12px;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.62rem;
  font-weight: 600;
  min-width: 64px;
  font-family: inherit;
  transition: all 0.2s ease;
}
.bottom-nav-item:hover {
  color: var(--text-primary);
}
.bottom-nav-item.active {
  color: var(--primary-lime);
  background: var(--primary-extra-light);
}
.workspace-content {
  padding-bottom: 32px !important;
}
.landing-footer {
  padding-bottom: 32px !important;
}

@media (max-width: 768px) {
  .bottom-nav { display: flex; }
  .workspace-content { padding-bottom: calc(84px + env(safe-area-inset-bottom)) !important; }
  /* Landing page: the floating bottom nav is redundant with the burger menu,
     so it is removed on mobile (the app shell keeps its own bottom nav). */
  .landing-bottom-nav { display: none !important; }
}

/* ==============================
   Mobile Navigation (Landing)
   ============================== */
.landing-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 1.5px solid var(--border-primary);
  background: var(--bg-card);
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
}
.landing-menu-btn:hover {
  border-color: var(--primary-lime);
  color: var(--primary-lime);
}

.landing-mobile-menu {
  display: none;
  position: fixed;
  top: 66px;
  left: 12px;
  right: 12px;
  background: var(--bg-card);
  border: 1.5px solid var(--border-primary);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  padding: 10px;
  flex-direction: column;
  gap: 4px;
  z-index: 60;
}
.landing-mobile-menu.open {
  display: flex;
}
.landing-mobile-menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  border-radius: 12px;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  transition: all 0.15s ease;
}
.landing-mobile-menu a:hover {
  background: var(--bg-hover);
  color: var(--primary-lime);
}
.landing-mobile-menu a i {
  width: 17px;
  height: 17px;
  color: var(--primary-lime);
}

/* ---- Landing nav dynamic collapse ----
   When the translated nav labels can no longer fit on a single row of the
   floating pill (detected in JS), the inline nav is replaced by the burger +
   slide-down menu — the same responsive mode used on phones. The .nav-collapsed
   class is set on .landing-page so the rules can cover both the header (burger
   inside it) and the sibling slide-down menu. */
.landing-page.nav-collapsed .landing-header nav {
  display: none !important;
}
.landing-page.nav-collapsed .landing-menu-btn {
  display: inline-flex !important;
}
.landing-page.nav-collapsed .landing-mobile-menu.open {
  display: flex !important;
}

@media (min-width: 769px) {
  .mobile-menu-btn,
  .sidebar-close-btn,
  .sidebar-backdrop,
  .landing-menu-btn,
  .landing-mobile-menu {
    display: none !important;
  }
}

/* Tables */
.table-container {
  width: 100%;
  overflow-x: auto;
  border: 1.5px solid var(--border-primary);
  border-radius: var(--radius-card);
  background-color: var(--bg-card);
}

.enterprise-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.enterprise-table th {
  background-color: var(--bg-main);
  color: var(--text-secondary);
  font-weight: 700;
  padding: 16px 20px;
  border-bottom: 1.5px solid var(--border-primary);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.enterprise-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-secondary);
  color: var(--text-primary);
  vertical-align: middle;
}

.enterprise-table tr:last-child td { border-bottom: none; }
.enterprise-table tr:hover td { background-color: var(--bg-hover); }

/* Onboarding */
.onboarding-wizard {
  max-width: 720px;
  margin: 40px auto;
  background: var(--bg-card);
  border: 1.5px solid var(--border-primary);
  border-radius: 28px;
  padding: 44px;
  box-shadow: var(--shadow-lg);
  color: var(--text-primary);
}

.option-chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
  margin-top: 28px;
}

.option-chip {
  padding: 16px 18px;
  border: 1.5px solid var(--border-primary);
  border-radius: 18px;
  background: var(--bg-card);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.92rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.option-chip:hover {
  border-color: var(--primary-lime);
  background-color: var(--primary-light);
  transform: translateY(-2px);
}

.option-chip.selected {
  border-color: var(--primary-lime);
  background-color: var(--btn-pri-bg);
  color: var(--btn-pri-text);
  font-weight: 800;
  box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.25);
}

.progress-bar-bg {
  width: 100%;
  height: 6px;
  background-color: var(--border-primary);
  border-radius: 9999px;
  overflow: hidden;
  margin-bottom: 32px;
}

.progress-bar-fill {
  height: 100%;
  background: var(--btn-pri-bg);
  transition: width 0.3s ease;
}

/* ==============================
   Responsive Landing Page
   ============================== */
@media (max-width: 1100px) {
  /* Mid screens: drop the inline nav and use the burger + slide-down menu,
     so the labeled auth buttons never overflow the header. */
  .landing-header nav {
    display: none !important;
  }
  .landing-menu-btn {
    display: inline-flex !important;
  }
  /* The burger dropdown must open whenever the burger is visible. The generic
     min-width:769px rule above hides the menu; this open-state override wins
     by specificity (two classes) for every size where the burger shows. */
  .landing-mobile-menu.open {
    display: flex !important;
  }
  .landing-header .btn-sm {
    min-width: 104px !important;
    padding: 8px 12px !important;
    font-size: 0.8rem !important;
  }
  .lang-switcher-btn {
    padding: 6px 10px !important;
    font-size: 0.72rem !important;
  }
  .landing-header {
    padding: 10px 16px !important;
  }
}

@media (max-width: 768px) {
  .landing-header {
    padding: 10px 14px !important;
  }
  .landing-header nav {
    display: none !important;
  }
  .landing-header .brand-name {
    font-size: 1rem !important;
  }
  /* Auth buttons collapse to icon-only circles; the lang switcher stays
     compact with its code label so users keep a one-tap language control. */
  .landing-header .btn-sm {
    min-width: 40px !important;
    width: 40px !important;
    height: 40px !important;
    padding: 0 !important;
    font-size: 0 !important;
    gap: 0 !important;
    justify-content: center !important;
    border-radius: 9999px !important;
  }
  .landing-header .btn-sm svg,
  .landing-header .btn-sm i {
    display: inline-flex !important;
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
  }
  .lang-switcher-btn {
    height: 40px !important;
    padding: 0 10px !important;
    gap: 4px !important;
  }

  section[id] h1 {
    font-size: 2.2rem !important;
  }
  section[id] p {
    font-size: 0.88rem !important;
  }
  section[id] h2 {
    font-size: 1.4rem !important;
  }

  #categories {
    padding: 40px 16px !important;
  }
  #categories .grid-3 {
    grid-template-columns: 1fr !important;
  }

  #how-it-works {
    padding: 40px 16px !important;
  }
  #how-it-works > div > div {
    grid-template-columns: 1fr !important;
  }

  #pricing {
    padding: 40px 16px !important;
  }
  #pricing > div > div {
    grid-template-columns: 1fr !important;
  }

  .landing-search-btn span {
    display: none !important;
  }
  .landing-search-btn {
    padding: 0 14px !important;
  }
  #landing-search-wrap {
    max-width: 100% !important;
  }
}

@media (max-width: 480px) {
  .landing-header {
    padding: 8px 10px !important;
    gap: 10px !important;
    top: 10px !important;
  }
  .landing-header .sidebar-brand {
    gap: 8px !important;
  }
  .landing-header .sidebar-brand img {
    width: 34px !important;
    height: 34px !important;
    border-radius: 10px !important;
  }
  .landing-header .brand-name {
    font-size: 0.92rem !important;
  }
  /* Tiny phones: lang switcher becomes icon-only too */
  .lang-switcher-btn {
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    justify-content: center !important;
    font-size: 0 !important;
  }
  .lang-switcher-btn span:not(.lang-flag-wrap):not(.lang-flag) {
    display: none !important;
  }
  .lang-switcher-btn .lang-flag-wrap {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .lang-switcher-btn .lang-flag-wrap svg {
    display: block !important;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(128, 128, 128, 0.25);
  }
  .landing-header .btn-sm {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
  }
  .landing-header .btn-sm svg,
  .landing-header .btn-sm i {
    width: 15px !important;
    height: 15px !important;
  }
  .landing-menu-btn {
    width: 36px !important;
    height: 36px !important;
  }
  section[id] h1 {
    font-size: 1.8rem !important;
  }
  header.landing-header .sidebar-brand .brand-icon {
    width: 32px !important;
    height: 32px !important;
  }
  header.landing-header .sidebar-brand .brand-icon i {
    width: 16px !important;
    height: 16px !important;
  }
}

/* Smallest phones: keep the header one row of icon controls only */
@media (max-width: 400px) {
  .landing-header .sidebar-brand .brand-name {
    display: none !important;
  }
}

/* ==============================
   Mobile: landscape cards (stacked vertically)
   ============================== */
@media (max-width: 767px) {
  /* Tool cards become compact horizontal rows so a phone shows a
     single stacked list of landscape cards instead of tall narrow tiles. */
  .tool-card {
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 12px !important;
    min-height: auto !important;
    padding: 12px 14px !important;
  }
  /* Bookmark-page cards keep a vertical layout: tagline full-width below
     the header, actions bar pinned at the bottom, save button top-right. */
  .tool-card.tool-card-bookmark {
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: space-between !important;
    gap: 0 !important;
    min-height: 150px !important;
  }
  .tool-card.tool-card-bookmark > div:first-child {
    flex: 0 0 auto !important;
    min-width: 0 !important;
  }
  .tool-card.tool-card-bookmark > .tool-card-bookmark-tagline {
    flex: 1 1 auto !important;
    min-width: 0 !important;
    width: 100% !important;
    margin-bottom: 10px !important;
  }
  .tool-card.tool-card-bookmark > .tool-card-bookmark-actions {
    flex: 0 0 auto !important;
    width: 100% !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    border-top: 1px solid var(--border-secondary);
    padding-top: 8px !important;
    margin-top: 4px !important;
  }
  .tool-card.tool-card-bookmark .btn-ghost {
    padding: 4px !important;
  }
  .tool-card > div:first-child {
    flex: 1;
    min-width: 0;
  }
  .tool-card > div:first-child > div:first-child {
    flex-wrap: nowrap !important;
  }
  .tool-card-tagline {
    font-size: 0.74rem !important;
    margin-bottom: 6px !important;
    -webkit-line-clamp: 1 !important;
  }
  .tool-card-match {
    flex-wrap: wrap !important;
  }
  .tool-card-footer {
    flex-direction: column !important;
    align-items: flex-end !important;
    justify-content: center !important;
    gap: 8px !important;
    border-top: none !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
    flex-shrink: 0;
  }
  .tool-card-footer > div:last-child {
    flex-direction: column !important;
    align-items: flex-end !important;
    gap: 6px !important;
  }

  /* Landing feature / compare / category cards become full-width rows */
  #features > div > div,
  #compare > div > div {
    grid-template-columns: 1fr !important;
  }
  #features .card,
  #compare .card {
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 14px !important;
    padding: 18px 16px !important;
  }
  #features .card > div:first-child,
  #compare .card > div:first-child {
    flex-shrink: 0;
  }
  #features .card > div:last-child,
  #compare .card > div:last-child {
    flex: 1;
    min-width: 0;
  }
}

/* ==============================
   Mobile: pricing plan cards + landing footer
   ============================== */
@media (max-width: 767px) {
  /* Plan cards stack full-width, one per row */
  .pricing-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  #pricing {
    padding: 40px 16px !important;
  }
  #pricing h2 {
    font-size: 1.4rem !important;
  }
  .pricing-grid .card {
    padding: 18px 16px !important;
  }

  /* Landing footer stacks into a single column */
  .landing-footer {
    padding: 36px 16px 24px !important;
  }
  .landing-footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    margin-bottom: 24px !important;
    text-align: left !important;
  }
  .landing-footer-grid h4,
  .landing-footer-grid ul {
    text-align: left !important;
  }
  .landing-footer-grid > div:first-child p {
    max-width: 100% !important;
  }
}

/* ==============================
   AI Tools Comparison (Gemini)
   ============================== */
.compare-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.compare-step-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--primary-lime);
  padding: 4px 10px;
  border-radius: 9999px;
  background: var(--primary-extra-light);
  border: 1px solid var(--border-primary);
  margin-bottom: 8px;
}
.compare-tool-picker {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}
.compare-search {
  flex: 1;
  min-width: 0;
}
.compare-search input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--border-primary);
  background: var(--bg-main);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease;
}
.compare-search input:focus {
  border-color: var(--primary-lime);
}
.compare-picker-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 340px;
  overflow-y: auto;
  padding: 6px;
  margin-top: 6px;
}
.compare-picker-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border-primary);
  background: var(--bg-card);
  cursor: pointer;
  transition: all 0.15s ease;
  text-align: left;
}
.compare-picker-item:hover {
  border-color: var(--primary-lime);
}
.compare-picker-item.checked {
  border-color: var(--primary-lime);
  background: var(--primary-extra-light);
}
.compare-add-box {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  border: 1px dashed var(--border-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-muted);
  background: transparent;
}
.compare-picker-item.checked .compare-add-box {
  background: var(--primary-lime);
  border-style: solid;
  border-color: var(--primary-lime);
  color: #0A0A0A;
}
.compare-selected-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.compare-chip {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid var(--border-primary);
  background: var(--bg-card);
}
.compare-chip img {
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 5px;
}
.compare-chip .cmp-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.compare-chip .cmp-cat {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.compare-chip .cmp-rm {
  margin-left: auto;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  border: none;
  background: rgba(239, 68, 68, 0.12);
  color: #EF4444;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.compare-chip.dim {
  opacity: 0.5;
  pointer-events: none;
}
.compare-goal {
  width: 100%;
  min-height: 104px;
  resize: vertical;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--border-primary);
  background: var(--bg-main);
  color: var(--text-primary);
  font-size: 0.9rem;
  font-family: inherit;
  line-height: 1.55;
  outline: none;
  transition: border-color 0.2s ease;
}
.compare-goal:focus {
  border-color: var(--primary-lime);
}
.compare-cta-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px dashed var(--border-primary);
}
.compare-loading-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
}
.compare-loading-orb {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, #B8F349, #2D9CFF);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 10px 28px rgba(var(--accent-rgb), 0.25);
  animation: cmp-pulse 1.6s ease-in-out infinite;
}
@keyframes cmp-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 10px 28px rgba(var(--accent-rgb), 0.25); }
  50% { transform: scale(1.07); box-shadow: 0 12px 36px rgba(var(--accent-rgb), 0.45); }
}
.compare-loader-bar {
  width: 240px;
  max-width: 90%;
  height: 5px;
  border-radius: 9999px;
  background: var(--border-primary);
  overflow: hidden;
  margin: 16px auto 10px auto;
}
.compare-loader-bar span {
  display: block;
  height: 100%;
  width: 35%;
  border-radius: 9999px;
  background: linear-gradient(90deg, var(--primary-lime), #2D9CFF);
  animation: compare-slide 1.2s ease-in-out infinite;
}
@keyframes compare-slide {
  0% { transform: translateX(-110%); }
  100% { transform: translateX(320%); }
}
.compare-msg-anim {
  margin-top: 4px;
  min-height: 22px;
  transition: opacity 0.2s ease;
}
.compare-reco-card {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid rgba(var(--accent-rgb), 0.4);
  background: linear-gradient(135deg, rgba(var(--accent-rgb), 0.10), rgba(45, 156, 255, 0.08));
}
.compare-trophy {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--label-green);
  color: #0A0A0A;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(var(--accent-rgb), 0.3);
}
.match-score-table {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 10px;
  margin: 14px 0 6px 0;
}
.match-score-cell {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--border-primary);
  background: var(--bg-card);
}
.score-bar-outer {
  height: 6px;
  border-radius: 9999px;
  background: var(--border-primary);
  flex: 1;
  overflow: hidden;
  min-width: 40px;
}
.score-bar-inner {
  height: 100%;
  border-radius: 9999px;
  background: linear-gradient(90deg, #2D9CFF, var(--primary-lime));
}
.key-diff-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--bg-main);
  border: 1px solid var(--border-secondary);
}
.key-diff-tag {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-blue);
}
.cmp-ai-note {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 8px;
}
.cmp-section-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.cmp-section-title i {
  width: 16px;
  height: 16px;
  color: var(--primary-lime);
  flex-shrink: 0;
}
.match-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 800;
  background: var(--primary-extra-light);
  color: var(--primary-lime);
  border: 1px solid rgba(var(--accent-rgb), 0.35);
  white-space: nowrap;
}
.list-dot {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
}
.list-dot i {
  width: 13px;
  height: 13px;
  margin-top: 3px;
  flex-shrink: 0;
}
.compare-tool-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.compare-tab-btn {
  padding: 8px 14px;
  border-radius: 9999px;
  border: 1px solid var(--border-primary);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}
.compare-tab-btn.active {
  border-color: var(--primary-lime);
  color: var(--primary-lime);
  background: var(--primary-extra-light);
}
.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.compare-detail-grid,
.compare-final-grid {
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 768px) {
  .compare-grid { grid-template-columns: 1fr; }
  .compare-detail-grid,
  .compare-final-grid { grid-template-columns: 1fr; }
  .match-score-table { grid-template-columns: 1fr; }
  .compare-reco-card { flex-direction: column; text-align: center; }
}

/* --- Admin panel: mobile responsive --- */
.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.admin-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.admin-search-wrap {
  position: relative;
  flex: 1;
  max-width: 360px;
}
.admin-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .admin-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .admin-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    min-width: 0;
    max-width: 100%;
    padding-bottom: 6px;
  }
  .admin-tabs .btn {
    flex-shrink: 0;
    white-space: nowrap;
  }
  .admin-toolbar > .btn {
    width: 100%;
    justify-content: center;
  }
  .admin-search-wrap {
    max-width: 100%;
  }
}

/* Admin tables become stacked cards on phones */
@media (max-width: 640px) {
  .admin-panel .table-container {
    overflow: visible;
    border: none;
    background: transparent;
  }
  .admin-panel .enterprise-table thead { display: none; }
  .admin-panel .enterprise-table,
  .admin-panel .enterprise-table tbody,
  .admin-panel .enterprise-table tr,
  .admin-panel .enterprise-table td { display: block; }
  .admin-panel .enterprise-table tr {
    background: var(--bg-card);
    border: 1.5px solid var(--border-primary);
    border-radius: 16px;
    padding: 6px 14px 10px;
    margin-bottom: 12px;
  }
  .admin-panel .enterprise-table tr:hover td { background-color: transparent; }
  .admin-panel .enterprise-table td {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 0;
    border-bottom: 1px solid var(--border-secondary);
    font-size: 0.85rem;
    text-align: right;
  }
  .admin-panel .enterprise-table td:last-child { border-bottom: none; }
  .admin-panel .enterprise-table td::before {
    content: attr(data-label);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    flex-shrink: 0;
    text-align: left;
  }
  .admin-panel .enterprise-table td:first-child::before { content: none; }
  .admin-panel .enterprise-table td:first-child {
    justify-content: flex-start;
    padding: 6px 0;
  }
  .admin-panel .enterprise-table td > div[style*="display: flex"] {
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 100%;
  }
}

/* Admin modal forms: 2-column rows stack on small phones */
@media (max-width: 480px) {
  .admin-form-grid {
    grid-template-columns: 1fr !important;
  }
}

/* Profile view: 2-column layout collapses on mobile */
@media (max-width: 640px) {
  .profile-grid {
    grid-template-columns: 1fr !important;
  }
  .profile-grid > div {
    min-width: 0;
  }
}
@media (max-width: 420px) {
  .profile-params {
    grid-template-columns: 1fr !important;
  }
}

/* ==============================
   Collection (Folder) Header - Mobile Responsive
   ============================== */
.collection-head-left { min-width: 0; }
.collection-head-titles { flex: 1; min-width: 0; }
.collection-title-row { flex-wrap: wrap; min-width: 0; }
@media (max-width: 640px) {
  .collection-head-left { width: 100%; align-items: flex-start; }
  .collection-head-actions { flex-wrap: wrap; }
}

/* ==============================
   Open Collection Link
   ============================== */
.open-collection-link {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  color: var(--label-green);
  font-size: 0.8rem;
  font-weight: 600;
}
[data-theme="light"] .open-collection-link {
  color: #000000;
}

/* Back Nav Button (Back to All Collections, Back to Bookmarks) */
.back-nav-btn {
  color: var(--label-green);
  background: var(--label-green-soft);
}
[data-theme="light"] .back-nav-btn {
  color: #000000;
  background: rgba(0, 0, 0, 0.06);
}
[data-theme="light"] .back-nav-btn:hover {
  background: rgba(0, 0, 0, 0.10);
}

/* ==============================
   Community Workflows
   ============================== */
.spin {
  animation: pintasly-spin 1s linear infinite;
}
@keyframes pintasly-spin {
  to { transform: rotate(360deg); }
}
.community-card-hover:hover {
  border-color: var(--primary-glow);
  transform: translateY(-2px);
}

/* ==============================
   Community Marketplace — Figma-style layout
   ==============================
*/
/* Community tabs: fully rounded, border only on selected */
.community-tabs-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.community-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 9999px;
  border: 1.5px solid transparent;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  padding: 8px 18px;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.community-tab i,
.community-tab svg { width: 16px; height: 16px; }
.community-tab:hover {
  color: var(--text-primary);
}
.community-tab.active {
  border-color: var(--primary-lime);
  background: var(--primary-extra-light);
  color: var(--primary-lime);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary-lime) 15%, transparent);
}
.community-hero {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid var(--border-card);
  background:
    radial-gradient(circle at 78% -20%, color-mix(in srgb, var(--primary-lime) 14%, transparent) 0%, transparent 55%),
    radial-gradient(circle at 12% 120%, color-mix(in srgb, var(--primary-blue) 8%, transparent) 0%, transparent 50%),
    linear-gradient(160deg, var(--bg-card) 0%, var(--bg-sidebar) 55%, var(--bg-main) 100%);
  padding: 30px 30px 24px 30px;
  margin-bottom: 20px;
}
.community-hero-glow {
  position: absolute;
  top: -90px;
  right: -60px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 65%);
  pointer-events: none;
}
.community-hero-inner { position: relative; z-index: 1; }
.community-hero-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 0 0 6px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}
.community-hero-title-mark {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--primary-lime), var(--primary-hover));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px var(--primary-glow);
  flex-shrink: 0;
}
.community-hero-title-mark i,
.community-hero-title-mark svg { width: 24px; height: 24px; color: var(--btn-pri-text); }
.community-hero-sub {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  margin: 0;
}
.community-hero-search { margin-top: 22px; }
.community-hero-search .search-box-container {
  max-width: 680px;
  height: 58px;
  background: color-mix(in srgb, var(--bg-main) 55%, transparent);
  backdrop-filter: blur(8px);
  border: 1.5px solid var(--border-primary);
  box-shadow: var(--shadow-lg);
}
.community-hero-search .search-box-container:hover,
.community-hero-search .search-box-container:focus-within {
  border-color: var(--primary-lime);
}
.community-hero-search .search-box {
  height: 58px;
  font-size: 1.02rem;
  line-height: 58px;
  min-width: 0;
  padding: 0 54px 0 24px;
}
.community-hero-search .search-action-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  margin-right: 0;
  z-index: 1;
}
.community-hero-search .search-action-btn i,
.community-hero-search .search-action-btn svg { width: 20px; height: 20px; }
.community-hero-search .search-action-btn i { width: 20px; height: 20px; }
.community-hero-search .search-action-btn:hover {
  transform: translateY(-50%) scale(1.15);
}
.community-hero-stats {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.community-stat-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 14px;
  border-radius: 9999px;
  background: var(--bg-surface);
  border: 1px solid var(--border-primary);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
}
.community-stat-chip i,
.community-stat-chip svg { width: 14px; height: 14px; color: var(--primary-lime); }

/* Light mode: keep workflow & category stat icons lime-green like dark mode */
[data-theme="light"] .community-stat-chip i,
[data-theme="light"] .community-stat-chip svg {
  color: #65A30D;
}

/* Light mode: cleaner hero card — drop the heavy black radial accents */
[data-theme="light"] .community-hero {
  background: linear-gradient(160deg, #FFFFFF 0%, var(--bg-main) 55%, var(--bg-hover) 100%);
}
[data-theme="light"] .community-hero-glow {
  background: radial-gradient(circle, rgba(15, 23, 42, 0.05) 0%, transparent 65%);
}

/* Community Info Button */
.community-info-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--border-primary);
  background: color-mix(in srgb, var(--bg-surface) 80%, transparent);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.community-info-btn:hover {
  border-color: var(--primary-lime);
  color: var(--primary-lime);
  background: color-mix(in srgb, var(--primary-lime) 10%, var(--bg-surface));
  transform: scale(1.08);
}
.community-info-btn:active {
  transform: scale(0.95);
}
/* Community Info Modal */
.community-info-modal .modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.community-info-section {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-secondary);
}
.community-info-section:last-of-type {
  border-bottom: none;
}
.community-info-section-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.community-info-section-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 6px 0;
}
.community-info-section-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Community filter row: sort chips + filter/sort dropdowns */
.community-filter-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
  min-width: 0;
}
.community-pipe {
  width: 1px;
  height: 22px;
  background: var(--border-primary);
  flex-shrink: 0;
}
.community-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.community-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--border-primary);
  background: var(--bg-main);
  color: var(--text-muted);
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: inherit;
  white-space: nowrap;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.1s ease;
  touch-action: manipulation;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  will-change: transform;
}
.community-action-btn i,
.community-action-btn svg { width: 14px; height: 14px; }
.community-action-btn:hover {
  border-color: var(--primary-glow);
  color: var(--text-primary);
}
.community-action-btn:active {
  transform: scale(0.95) !important;
  opacity: 0.9 !important;
  transition: transform 0.05s ease, opacity 0.05s ease !important;
}
.community-action-btn.active {
  background: var(--primary-extra-light);
  border-color: var(--primary-glow);
  color: var(--primary-lime);
}
.community-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border-secondary);
  background: var(--bg-main);
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s ease;
}
.community-share-btn .share-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.community-share-btn:hover {
  border-color: var(--primary-glow);
  background: var(--primary-extra-light);
  color: var(--primary-lime);
}
.community-share-btn i,
.community-share-btn svg { width: 16px; height: 16px; }

/* Modal rating stars */
.community-modal-rating {
  display: flex;
  gap: 4px;
}
.community-modal-rating-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border-secondary);
  background: var(--bg-main);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}
.community-modal-rating-btn:hover {
  border-color: var(--primary-lime);
  background: var(--primary-extra-light);
  color: var(--primary-lime);
}
.community-modal-rating-btn.active {
  border-color: var(--primary-lime);
  background: var(--primary-extra-light);
  color: var(--primary-lime);
}
.community-modal-rating-btn i,
.community-modal-rating-btn svg { width: 20px; height: 20px; }

/* Modal comment input - use search-box style */
.community-modal-comment-input {
  display: flex;
  align-items: center;
  gap: 8px;
}
.community-modal-comment-input .search-box-container {
  flex: 1;
  height: 44px;
  border-radius: 10px;
}
.community-modal-comment-input .search-box {
  height: 44px;
  font-size: 0.85rem;
  padding: 0 16px;
  line-height: 44px;
  border-radius: 10px;
}
.community-modal-comment-input .btn {
  height: 44px;
  padding: 0 18px;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.community-modal-comment-input .btn i,
.community-modal-comment-input .btn svg { width: 14px; height: 14px; }

/* Modal comment list item */
.community-modal-comment {
  display: flex;
  gap: 10px;
}
.community-modal-comment-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}
.community-modal-comment-avatar-placeholder {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}
.community-modal-comment-content {
  min-width: 0;
  flex: 1;
}
.community-modal-comment-author {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-primary);
}
.community-modal-comment-text {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.4;
}
.community-modal-comment-time {
  font-size: 0.65rem;
  color: var(--text-muted);
  white-space: nowrap;
  margin-left: 8px;
}

/* Modal footer */
.community-modal-footer {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  padding: 14px 24px;
  border-top: 1px solid var(--border-secondary);
  background: var(--bg-surface);
  border-radius: 0 0 24px 24px;
}
.community-modal-footer .btn {
  height: 42px;
  padding: 0 20px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 800;
}
.community-modal-footer .btn i,
.community-modal-footer .btn svg { width: 14px; height: 14px; }
.community-menu-wrap {
  position: relative;
}
.community-menu {
  position: absolute;
  top: calc(100% + 8px);
  z-index: 120;
  min-width: 180px;
  max-width: calc(100vw - 32px);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 14px;
  padding: 6px;
  box-shadow: var(--shadow-lg), 0 10px 30px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 2px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.community-menu.menu-left {
  left: 0;
  right: auto;
}
.community-menu.menu-right {
  right: 0;
  left: auto;
}
.community-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 9px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, transform 0.1s ease;
  touch-action: manipulation;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.community-menu-item:hover { background: var(--bg-selected); color: var(--text-primary); }
.community-menu-item:active {
  background: var(--bg-hover) !important;
  transform: scale(0.98) !important;
  transition: transform 0.05s ease !important;
}
.community-menu-item.active { color: var(--primary-lime); }

/* Light mode: community & compare keep the lime accent on tabs, chips and
   label tags (matching the classic lime design) — the secondary button stays
   neutral to feel cohesive with the black primary button. */
[data-theme="light"][data-view="community"] .community-tab.active,
[data-theme="light"][data-view="compare"] .compare-tab-btn.active {
  border-color: var(--label-green);
  background: var(--label-green-soft);
  color: var(--label-green);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--label-green) 15%, transparent);
}

[data-theme="light"][data-view="community"] .community-action-btn:hover,
[data-theme="light"][data-view="community"] .community-action-btn.active {
  border-color: var(--label-green);
}
[data-theme="light"][data-view="community"] .community-action-btn.active {
  background: var(--label-green-soft);
  color: var(--label-green);
}
[data-theme="light"][data-view="community"] .community-menu-item.active {
  color: var(--label-green);
}
[data-theme="light"][data-view="community"] .community-share-btn:hover {
  border-color: var(--label-green);
  background: var(--label-green-soft);
  color: var(--label-green);
}
[data-theme="light"][data-view="community"] .search-action-btn {
  color: var(--label-green);
}

[data-theme="light"][data-view="compare"] .compare-picker-item.checked .compare-add-box {
  color: #FFFFFF;
}
[data-theme="light"][data-view="compare"] .compare-step-badge {
  color: var(--label-green);
  background: var(--label-green-soft);
  border-color: var(--label-green-border);
}

.community-share-btn,
.community-modal-rating-btn,
.community-card,
.modal-close-btn,
.search-action-btn {
  touch-action: manipulation;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  will-change: transform;
}

.community-share-btn:active,
.community-modal-rating-btn:active {
  transform: scale(0.92) !important;
  transition: transform 0.05s ease !important;
}

.modal-close-btn:active {
  transform: scale(0.90) !important;
  transition: transform 0.05s ease !important;
}

.community-card:active {
  transform: scale(0.99) !important;
  transition: transform 0.05s ease !important;
}
.community-sort-group {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
}
.community-sort-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-primary);
  background: var(--bg-main);
  color: var(--text-muted);
  cursor: pointer;
  padding: 7px 14px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: inherit;
  white-space: nowrap;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.community-sort-chip:hover {
  border-color: var(--primary-glow);
  color: var(--text-primary);
}
.community-sort-chip.active {
  background: var(--primary-extra-light);
  border-color: var(--primary-glow);
  color: var(--primary-lime);
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(285px, 1fr));
  gap: 16px;
}
.community-grid > * {
  min-width: 0;
}

/* Figma-style card: cover on top, body below */
.community-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  min-width: 0;
  content-visibility: auto;
  contain-intrinsic-size: auto 340px;
  transition: border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}
.community-card:hover {
  border-color: var(--primary-glow);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.community-cover {
  position: relative;
  height: 148px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.community-cover-glow {
  position: absolute;
  top: -50px;
  left: -40px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  pointer-events: none;
}
.community-cover-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--bg-main) 55%, transparent);
  border: 1px solid var(--border-primary);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}
.community-cover-icon i,
.community-cover-icon svg { width: 26px; height: 26px; }
.community-cover-save {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-primary);
  background: color-mix(in srgb, var(--bg-main) 55%, transparent);
  backdrop-filter: blur(6px);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.community-cover-save:hover { transform: scale(1.12); background: color-mix(in srgb, var(--primary-lime) 20%, transparent); }
.community-cover-save.saved { color: var(--primary-lime); background: color-mix(in srgb, var(--primary-lime) 16%, transparent); }
.community-cover-save i,
.community-cover-save svg { width: 15px; height: 15px; }
.community-cover-tools {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 2;
  display: flex;
}
.community-cover-tools img {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 2px solid var(--bg-card);
  background: var(--bg-surface);
  object-fit: contain;
  margin-right: -7px;
  box-shadow: var(--shadow-sm);
}
.community-card-body { padding: 14px 15px 13px 15px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.community-card-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.35;
}
.community-card-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.community-card-tools {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.community-card-footer {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: nowrap;
}
.community-card-author { display: flex; align-items: center; gap: 5px; min-width: 0; flex: 1 1 auto; }
.community-author-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--text-primary);
  overflow: hidden;
}
.community-author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.community-author-name {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  max-width: 140px;
}
.community-card-stats { display: flex; align-items: center; gap: 10px; flex-wrap: nowrap; flex-shrink: 0; }
.community-stat-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  white-space: nowrap;
}
.community-stat-item i,
.community-stat-item svg { width: 12px; height: 12px; }
.community-stat-item .star-lit { color: var(--status-warning); }
.community-run-btn {
  width: 26px;
  height: 26px;
  border-radius: 9999px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-extra-light);
  border: 1px solid var(--primary-glow);
  color: var(--primary-lime);
  cursor: pointer;
  transition: all 0.15s ease;
  padding: 0;
}
.community-run-btn i,
.community-run-btn svg { width: 13px; height: 13px; }
.community-run-btn:hover { background: var(--primary-lime); color: var(--btn-pri-text); border-color: var(--primary-lime); }
.community-run-btn-publish { background: var(--primary-extra-light); color: var(--primary-lime); }
.community-run-btn-publish:hover { background: var(--primary-lime); color: var(--btn-pri-text); }

.community-create-option { transition: all .15s ease; }
.community-create-option:hover { border-color: var(--primary-glow) !important; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); transform: translateY(-2px); }
.community-create-option.locked { opacity: .82; }
.community-create-option.locked:hover { transform: none; border-color: var(--border-secondary) !important; box-shadow: none; }
.community-tool-option { transition: all .12s ease; }
.community-tool-option:hover { background: var(--bg-selected); }
.community-tool-option.active { border-color: var(--primary-glow) !important; background: var(--bg-selected); }
@media (max-width: 560px) {
  .community-create-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 900px) {
  .community-hero { padding: 24px 20px 20px 20px; }
  .community-hero-title { font-size: 1.6rem; }
  .community-hero-search .search-box-container { height: 54px; }
  .community-hero-search .search-box { height: 54px; font-size: 0.95rem; line-height: 54px; }
  .community-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
}
@media (max-width: 640px) {
  .community-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .community-cover { height: 110px; }
  .community-cover-icon { width: 46px; height: 46px; border-radius: 14px; }
  .community-cover-icon i,
  .community-cover-icon svg { width: 22px; height: 22px; }
  .community-cover-tools img { width: 22px; height: 22px; border-radius: 6px; }
  .community-card-body { padding: 12px 12px 11px 12px; }
  .community-author-name { max-width: 72px; }
  .community-card-stats { gap: 7px; }
   .community-sort-chip { padding: 5px 10px; font-size: 0.68rem; }
   .community-action-btn { padding: 6px 10px; font-size: 0.7rem; }
   .community-filter-row { gap: 6px; }
}
@media (max-width: 420px) {
  .bottom-nav-item { min-width: 52px; padding: 6px 8px; }
  .community-hero { padding: 20px 16px 16px 16px; border-radius: 20px; }
  .community-hero-title { font-size: 1.35rem; gap: 10px; }
  .community-hero-title-mark { width: 38px; height: 38px; border-radius: 12px; }
  .community-hero-title-mark i,
  .community-hero-title-mark svg { width: 20px; height: 20px; }
  .community-hero-sub { font-size: 0.85rem; }
  .community-hero-search { margin-top: 16px; }
  .community-grid { grid-template-columns: 1fr; }
  .community-cover { height: 150px; }
  .community-cover-icon { width: 54px; height: 54px; }
  .community-cover-icon i,
  .community-cover-icon svg { width: 24px; height: 24px; }
  .community-cover-tools img { width: 24px; height: 24px; }
  .community-filter-row { flex-direction: row; align-items: center; gap: 8px; }
  .community-pipe { display: none; }
  .community-sort-group {
    flex-wrap: nowrap;
    overflow-x: auto;
    flex: 1;
    min-width: 0;
    padding-bottom: 4px;
    scrollbar-width: thin;
    scrollbar-color: var(--border-primary) transparent;
  }
  .community-sort-group::-webkit-scrollbar {
    height: 4px;
  }
  .community-sort-group::-webkit-scrollbar-thumb {
    background: var(--border-primary);
    border-radius: 9999px;
  }
  .community-sort-group::-webkit-scrollbar-track {
    background: transparent;
  }
   .community-sort-chip { padding: 5px 10px; font-size: 0.62rem; white-space: nowrap; }
   .community-toolbar-actions { width: 100%; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-left: 0; }
   .community-menu-wrap { position: relative; flex: 0 0 auto; }
   .community-menu { z-index: 200; max-width: calc(100vw - 32px); }
   .community-menu.menu-left { left: 0; right: auto; }
   .community-menu.menu-right { right: 0; left: auto; }
   .community-toolbar-actions .community-action-btn { width: auto; font-size: 0.75rem; padding: 7px 12px; }
}

/* ==============================
   Landing Page — Spotify Premium Inspired Redesign
   ============================== */

/* ---- Giant rotating-word hero ---- */
.landing-hero-wrap {
  position: relative;
  z-index: 1;
  padding: 112px 24px 84px 24px;
  text-align: center;
}
.landing-hero-inner {
  max-width: 900px;
  margin: 0 auto;
}
.landing-hero-title {
  margin: 12px 0 20px 0;
}
.landing-hl {
  color: var(--primary-lime);
  text-shadow: 0 0 28px var(--primary-glow);
}
.landing-tw-cursor {
  display: inline-block;
  width: 4px;
  height: 0.9em;
  margin-left: 6px;
  background: var(--primary-lime);
  vertical-align: middle;
  border-radius: 2px;
  animation: blink 0.9s ease-in-out infinite;
  box-shadow: 0 0 14px var(--primary-lime);
}
.landing-hero-sub {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin: 0 auto 34px auto;
  line-height: 1.65;
}
.landing-hero-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.landing-hero-cta-primary {
  padding: 16px 40px;
  border-radius: 9999px;
  font-weight: 800;
  font-size: 1.02rem;
  background: var(--btn-pri-bg);
  color: var(--btn-pri-text);
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.landing-hero-cta-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 32px var(--primary-glow);
}
.landing-hero-cta-link {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 16px 8px;
}
.landing-hero-cta-link:hover {
  color: var(--primary-lime);
}
.landing-hero-fineprint {
  font-size: 0.78rem;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 38px auto;
  line-height: 1.6;
}

/* ---- Section bands (alternating Spotify-like rhythm) ---- */
.landing-band-lime {
  background: linear-gradient(180deg, var(--primary-extra-light) 0%, transparent 55%);
  border-top: 1px solid var(--border-primary);
  border-bottom: 1px solid var(--border-primary);
}

/* ---- Spotify-style plan cards ---- */
.landing-plan-wrap {
  max-width: 1100px;
  margin: 0 auto;
}
.landing-plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 0 auto;
}
.landing-plan-card {
  display: flex;
  flex-direction: column;
  padding: 30px 28px;
  border-radius: 22px;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-md);
  text-align: left;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.landing-plan-card:hover {
  transform: translateY(-4px);
}
.landing-plan-card.is-popular {
  border: 2px solid var(--primary-lime);
  box-shadow: 0 0 0 1px var(--primary-lime), 0 18px 48px -12px var(--primary-glow);
}
.landing-plan-name {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.landing-plan-title {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.landing-plan-price {
  font-size: 2.1rem;
  font-weight: 900;
  font-family: 'Poppins', sans-serif;
  letter-spacing: -0.03em;
  margin-bottom: 4px;
}
.landing-plan-price span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}
.landing-plan-divider {
  height: 1px;
  background: var(--border-primary);
  margin: 20px 0 22px 0;
}
.landing-plan-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.landing-plan-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.landing-plan-list li i,
.landing-plan-list li svg {
  width: 16px;
  height: 16px;
  color: var(--primary-lime);
  flex-shrink: 0;
  margin-top: 2px;
}
.landing-plan-cta {
  width: 100%;
  padding: 14px 0;
  border-radius: 9999px;
  font-weight: 800;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
}
.landing-plan-card.is-popular .landing-plan-cta {
  background: var(--btn-pri-bg);
  color: var(--btn-pri-text);
}
.landing-plan-note {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-top: 14px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.landing-step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: left;
}

@media (max-width: 767px) {
  .landing-plan-grid {
    grid-template-columns: 1fr !important;
  }
  .landing-hero-wrap {
    padding: 130px 18px 60px 18px;
  }
  .landing-hero-title {
    font-size: 2.1rem !important;
  }
  .landing-hero-sub {
    font-size: 0.92rem;
  }
  .landing-step-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 480px) {
  .landing-hero-wrap {
    padding: 140px 16px 56px 16px;
  }
}

/* ==============================
   Community Workflow Modals — Mobile Responsive
   ============================== */
@media (max-width: 767px) {
  .community-wf-grid {
    grid-template-columns: 1fr !important;
  }
  .community-manual-fields {
    grid-template-columns: 1fr !important;
  }
  .modal-overlay {
    padding: 10px;
  }
  .modal-window[style*="max-width: 960px"],
  .modal-window {
    max-width: 100% !important;
    max-height: calc(100dvh - 20px) !important;
  }
  .community-modal-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
}

@media (max-width: 480px) {
  .community-modal-actions {
    width: 100%;
  }
  .community-modal-actions .btn {
    flex: 1;
    justify-content: center;
    padding-left: 10px !important;
    padding-right: 10px !important;
    font-size: 0.75rem !important;
    white-space: nowrap;
  }
  .modal-header,
  .modal-window .modal-body,
  .modal-window .modal-footer {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/* ==========================================================================
   BRAND IDENTITY BANNER (Dashboard)
   ========================================================================== */
.brand-banner {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--border-primary);
  background: linear-gradient(135deg, rgba(21, 30, 46, 0.95) 0%, rgba(16, 23, 38, 0.98) 55%, rgba(var(--accent-rgb), 0.06) 100%);
  padding: 34px 34px 26px;
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.brand-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 22px;
  padding: 1px;
  background: linear-gradient(120deg, rgba(var(--accent-rgb), 0.5), rgba(var(--accent-rgb), 0.05) 35%, rgba(148, 163, 184, 0.08) 65%, rgba(var(--accent-rgb), 0.35));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.brand-banner-glow {
  position: absolute;
  top: -60%;
  left: 50%;
  width: 720px;
  height: 720px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.16) 0%, transparent 60%);
  pointer-events: none;
  filter: blur(20px);
}

.brand-banner-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}

.brand-banner-orb-a {
  width: 180px;
  height: 180px;
  right: -60px;
  top: -70px;
  background: radial-gradient(circle, rgba(var(--accent-rgb), 0.35) 0%, transparent 70%);
  animation: brandOrbFloat 12s ease-in-out infinite;
}

.brand-banner-orb-b {
  width: 130px;
  height: 130px;
  left: -45px;
  bottom: -60px;
  background: radial-gradient(circle, rgba(148, 163, 184, 0.18) 0%, transparent 70%);
  animation: brandOrbFloat 16s ease-in-out infinite reverse;
}

.brand-banner-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(var(--accent-rgb), 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--accent-rgb), 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at 30% 20%, rgba(0, 0, 0, 0.7) 0%, transparent 65%);
  mask-image: radial-gradient(ellipse at 30% 20%, rgba(0, 0, 0, 0.7) 0%, transparent 65%);
  pointer-events: none;
}

.brand-banner-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand-banner-left {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}

.brand-banner-logo {
  flex-shrink: 0;
  width: 76px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  background: var(--bg-card);
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  box-shadow: 0 0 0 6px rgba(var(--accent-rgb), 0.07), var(--shadow-md);
  animation: brandPulse 3.2s ease-in-out infinite;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.brand-banner:hover .brand-banner-logo {
  transform: translateY(-4px) rotate(-3deg) scale(1.04);
  box-shadow: 0 0 0 8px rgba(var(--accent-rgb), 0.1), 0 16px 40px rgba(0, 0, 0, 0.45);
}

.brand-banner-logo img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.brand-banner-text {
  min-width: 0;
}

.brand-banner-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--primary-lime);
  text-transform: uppercase;
  background: rgba(var(--accent-rgb), 0.1);
  border: 1px solid rgba(var(--accent-rgb), 0.25);
  border-radius: 9999px;
  padding: 4px 12px;
  margin-bottom: 10px;
}

.brand-banner-title {
  margin: 0;
  font-size: clamp(1.25rem, 2.6vw, 1.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.brand-banner-accent {
  background: linear-gradient(120deg, #D4F93E, #B8F349 55%, #8FD91E);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-banner-desc {
  margin: 8px 0 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-secondary);
  max-width: 520px;
}

.brand-banner-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.brand-banner-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.82rem;
  font-family: inherit;
  color: var(--bg-main);
  background: linear-gradient(120deg, #D4F93E, #B8F349);
  border-radius: 9999px;
  padding: 10px 18px;
  box-shadow: 0 6px 20px rgba(var(--accent-rgb), 0.3);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, filter 0.2s ease;
}

.brand-banner-cta:hover {
  transform: translateY(-2px) scale(1.02);
  filter: brightness(1.05);
  box-shadow: 0 10px 30px rgba(var(--accent-rgb), 0.45);
}

.brand-banner-cta:active {
  transform: translateY(0) scale(0.98);
}

.brand-banner-cta-ghost {
  background: rgba(var(--accent-rgb), 0.06);
  color: var(--text-primary);
  border: 1px solid rgba(var(--accent-rgb), 0.3);
  box-shadow: none;
}

.brand-banner-cta-ghost:hover {
  background: rgba(var(--accent-rgb), 0.12);
  box-shadow: 0 8px 24px rgba(var(--accent-rgb), 0.18);
}

.brand-banner-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  flex-shrink: 0;
}

.brand-banner-stat {
  min-width: 120px;
  text-align: center;
  background: rgba(16, 23, 38, 0.7);
  border: 1px solid var(--border-primary);
  border-radius: 16px;
  padding: 14px 10px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease, background 0.25s ease;
}

.brand-banner-stat:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--accent-rgb), 0.45);
  background: rgba(var(--accent-rgb), 0.06);
}

.brand-banner-stat-num {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-lime);
  line-height: 1;
}

.brand-banner-stat-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 6px;
}

.brand-banner-stat-sub {
  display: block;
  font-size: 0.66rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.brand-banner-words {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border-secondary);
  overflow: hidden;
}

.brand-banner-words span {
  flex-shrink: 0;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 4px 12px;
  border-radius: 9999px;
  border: 1px solid var(--border-primary);
  background: rgba(16, 23, 38, 0.5);
  opacity: 0.25;
  animation: brandWordFade 9s ease-in-out infinite;
}

@keyframes brandOrbFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-18px, 22px); }
}

@keyframes brandWordFade {
  0%, 100% { opacity: 0.25; transform: translateY(4px); }
  50% { opacity: 0.9; transform: translateY(0); }
}

@media (max-width: 900px) {
  .brand-banner {
    padding: 26px 22px 20px;
  }
  .brand-banner-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .brand-banner-stats {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .brand-banner-logo {
    width: 62px;
    height: 62px;
    border-radius: 16px;
  }
  .brand-banner-logo img {
    width: 40px;
    height: 40px;
  }
  .brand-banner-left {
    flex-direction: column;
    align-items: flex-start;
  }
  .brand-banner-stats {
    grid-template-columns: 1fr 1fr;
  }
}

/* Floating modal-footer for Workflow popup (Original design, floating) */
.modal-footer.floating-workflow-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 14px 24px;
  border-top: 1px solid var(--border-secondary);
  background: var(--bg-glass, var(--bg-surface));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
}

@media (max-width: 600px) {
  .modal-footer.floating-workflow-footer {
    padding: 10px 16px;
    gap: 6px;
    flex-wrap: wrap;
  }
}

/* Workflow modal: PDF & Save buttons — icon-only on mobile */
@media (max-width: 640px) {
  .wf-btn-label {
    display: none !important;
  }
  .wf-icon-btn {
    padding: 8px 10px !important;
    min-width: 36px;
    justify-content: center;
  }
}

/* ==========================================================================
   LANDING PAGE — DISCORD-STYLE REDESIGN (Pintasly green + black)
   ========================================================================== */
.discord-landing {
  --dsc-bg: #05070D;
  --dsc-bg-soft: #0A0F1A;
  --dsc-bg-card: #0E1524;
  --dsc-green: #B8F349;
  --dsc-green-strong: #97E022;
  --dsc-text: #F2F5F8;
  --dsc-muted: #98A3B3;
  --dsc-border: rgba(255, 255, 255, 0.10);
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--dsc-text);
  -webkit-font-smoothing: antialiased;
  isolation: isolate;
  background:
    radial-gradient(1200px 720px at 50% -160px, rgba(184, 243, 73, 0.26), transparent 62%),
    radial-gradient(920px 620px at 88% 18%, rgba(151, 222, 34, 0.20), transparent 60%),
    radial-gradient(880px 640px at 4% 42%, rgba(151, 222, 34, 0.16), transparent 62%),
    radial-gradient(1000px 680px at 70% 84%, rgba(184, 243, 73, 0.14), transparent 62%),
    linear-gradient(180deg, #0E1A04 0%, #0C1306 35%, #080C05 70%, #05070B 100%);
}

/* ---- Discord-style sticky nav ---- */
.discord-landing .landing-header.discord-nav {
  position: fixed;
  top: 0 !important;
  left: 0;
  right: 0;
  width: 100%;
  transform: translateZ(0);
  border-radius: 0;
  padding: 0;
  background: rgba(5, 7, 13, 0.55);
  border: none;
  border-bottom: none;
  box-shadow: none;
  z-index: 100;
  animation: none;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}
.discord-landing .landing-header.discord-nav.scrolled {
  background: rgba(5, 7, 13, 0.92);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}
.discord-landing .landing-header.discord-nav.hide-on-footer {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.discord-nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
  height: 72px;
  padding: 0 clamp(20px, 4vw, 32px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}
.discord-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  justify-self: start;
}
.discord-wordmark {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
  color: var(--dsc-text);
  white-space: nowrap;
}
.discord-big-wordmark {
  width: 100%;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 11vw;
  line-height: 0.82;
  letter-spacing: -0.04em;
  color: var(--dsc-text);
  opacity: 0.9;
  padding: 28px 0 0;
  margin-top: -1px;
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  overflow: hidden;
}
@media (min-width: 1080px) {
  .discord-big-wordmark {
    font-size: 9rem;
    padding-top: 36px;
  }
}
@media (max-width: 640px) {
  .discord-big-wordmark {
    font-size: 15vw;
  }
}
[data-theme="light"] .discord-landing .discord-big-wordmark {
  color: var(--dsc-text);
}
.discord-nav-links {
  display: flex;
  gap: 2px;
  font-weight: 600;
  font-size: 0.92rem;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
}
.discord-nav-links .landing-nav-link {
  color: rgba(242, 245, 248, 0.82);
  padding: 10px 14px;
  border-radius: 12px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  transition: background-color 0.25s ease, color 0.25s ease;
}
.discord-nav-links .landing-nav-link:hover {
  color: #05070D;
  background: var(--dsc-green);
}
.discord-nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  justify-self: end;
}
.discord-login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 20px;
  border-radius: 16px;
  background: #FFFFFF;
  color: #05070D;
  border: none;
  font-family: inherit;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: 0.25px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}
.discord-login-btn:hover {
  background: #E7FFB8;
}
.discord-burger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.10);
  border: none;
  color: var(--dsc-text);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.3s ease;
}
.discord-burger:hover {
  background: rgba(255, 255, 255, 0.30);
}
.discord-burger > :nth-child(2) { display: none; }
.discord-burger.menu-open > :nth-child(1) { display: none; }
.discord-burger.menu-open > :nth-child(2) { display: inline-flex; }

/* Language switcher inside the Discord nav: minimal, translucent pill */
.discord-nav-actions .lang-switcher-btn {
  background: rgba(255, 255, 255, 0.10);
  border: none;
  color: var(--dsc-text);
}
.discord-nav-actions .lang-switcher-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  border: none;
}
.discord-nav-actions .lang-switcher-menu {
  background: var(--dsc-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6);
}

/* Discord-style mobile menu: blurred backdrop + brand sheet from the right */
.discord-landing .landing-mobile-menu.discord-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 300;
  background:
    radial-gradient(circle at 78% 18%, rgba(184, 243, 73, 0.16) 0%, transparent 55%),
    radial-gradient(circle at 12% 90%, rgba(184, 243, 73, 0.10) 0%, transparent 50%),
    rgba(9, 13, 22, 0.62);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  justify-content: flex-end;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s;
}
.discord-landing .landing-mobile-menu.discord-mobile-menu.open {
  opacity: 1;
  visibility: visible;
}
.discord-mobile-sheet {
  background: linear-gradient(165deg, #C4F763 0%, #B8F349 48%, #9FE02A 100%);
  width: min(420px, 92vw);
  height: 100%;
  margin-left: auto;
  border-top-left-radius: 32px;
  border-bottom-left-radius: 32px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.discord-landing .landing-mobile-menu.discord-mobile-menu.open .discord-mobile-sheet {
  transform: translateX(0);
}
.discord-mobile-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.discord-mobile-top .discord-wordmark {
  color: #0B1200;
}
.discord-mobile-close {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: rgba(5, 7, 13, 0.10);
  border: none;
  color: #0B1200;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.discord-mobile-close:hover {
  background: rgba(5, 7, 13, 0.22);
}
.discord-mobile-links {
  display: flex;
  flex-direction: column;
  margin-top: 8px;
}
.discord-mobile-links a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 17px 4px;
  border-bottom: 1px solid rgba(5, 7, 13, 0.12);
  color: #0B1200;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.05rem;
  transition: background-color 0.2s ease;
}
.discord-mobile-links a i {
  width: 20px;
  height: 20px;
  color: rgba(5, 7, 13, 0.55);
  flex-shrink: 0;
}
.discord-mobile-links a:hover {
  background: rgba(5, 7, 13, 0.06);
}
.discord-mobile-foot {
  margin-top: auto;
  padding-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.discord-mobile-foot .lang-switcher {
  margin: 0 auto;
}
.discord-mobile-foot .lang-switcher-btn {
  background: rgba(5, 7, 13, 0.10);
  border: none;
  color: #0B1200;
}
.discord-mobile-foot .lang-switcher-btn:hover {
  background: rgba(5, 7, 13, 0.20);
  border: none;
}
.discord-mobile-foot .lang-switcher-menu {
  top: auto;
  bottom: calc(100% + 8px);
  background: #FFFFFF;
  border: 1px solid rgba(5, 7, 13, 0.12);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.25);
}
.discord-mobile-foot .lang-switcher-menu .dropdown-item {
  color: #1A1F26;
}
.discord-mobile-foot .lang-switcher-menu .dropdown-item:hover {
  background: #F0F2F5;
  color: #000;
}
.discord-mobile-foot .lang-switcher-menu .dropdown-item.active {
  background: #E7FFB8;
  color: #0B1200;
}
.discord-mobile-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  border-radius: 14px;
  background: #0B1200;
  color: #F2F5F8;
  border: none;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.discord-mobile-cta:hover {
  background: #202A16;
}
.discord-mobile-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  border-radius: 14px;
  background: transparent;
  color: #0B1200;
  border: 1px solid rgba(5, 7, 13, 0.35);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.discord-mobile-login:hover {
  background: rgba(5, 7, 13, 0.08);
}
body.landing-menu-locked {
  overflow: hidden;
}

/* ---- Hero ---- */
.discord-landing .landing-hero-wrap.discord-hero {
  position: relative;
  z-index: 1;
  padding: clamp(80px, 9vw, 104px) 24px 0;
  text-align: center;
  overflow: hidden;
}
.discord-hero-glow {
  position: absolute;
  border-radius: 50%;
  /* No filter: blur() here — a large GPU blur recomposites on every frame
     and is a major smooth-scroll cost on low-end devices. The gradients
     already carry a smooth alpha falloff. */
  pointer-events: none;
  z-index: 0;
}
.discord-hero-glow-1 {
  width: 680px;
  height: 680px;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(184, 243, 73, 0.32) 0%, rgba(184, 243, 73, 0.14) 38%, transparent 70%);
}
.discord-hero-glow-2 {
  width: 460px;
  height: 460px;
  top: 240px;
  left: 6%;
  background: radial-gradient(circle, rgba(184, 243, 73, 0.20) 0%, rgba(184, 243, 73, 0.08) 40%, transparent 72%);
}
.discord-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
}
.discord-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 9999px;
  background: rgba(184, 243, 73, 0.10);
  border: 1px solid rgba(184, 243, 73, 0.30);
  color: var(--dsc-green);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 26px;
}
.discord-hero-badge .badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--dsc-green);
  box-shadow: 0 0 10px var(--dsc-green);
}
.discord-hero-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--dsc-text);
  margin: 0 0 22px 0;
}
.discord-hero-title .landing-hl {
  color: var(--dsc-green);
  text-shadow: 0 0 42px rgba(184, 243, 73, 0.4);
}
.discord-hero-sub {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: var(--dsc-muted);
  max-width: 640px;
  margin: 0 auto 32px auto;
  line-height: 1.7;
  font-weight: 400;
}
.discord-hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.discord-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  padding: 0 34px;
  border-radius: 9999px;
  background: #FFFFFF;
  color: #05070D;
  border: none;
  font-family: inherit;
  font-weight: 700;
  font-size: 1.02rem;
  cursor: pointer;
  transition: all 0.18s ease;
}
.discord-cta-primary:hover {
  background: var(--dsc-green);
  color: #05070D;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(184, 243, 73, 0.35);
}
.discord-cta-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 56px;
  padding: 0 34px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.07);
  color: var(--dsc-text);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-family: inherit;
  font-weight: 700;
  font-size: 1.02rem;
  cursor: pointer;
  transition: all 0.18s ease;
}
.discord-cta-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}
.discord-hero-fineprint {
  font-size: 0.8rem;
  color: var(--dsc-muted);
  margin: 18px 0 0;
  line-height: 1.6;
  padding-bottom: 12px;
}

/* ---- Hero product preview mock ---- */
.discord-hero-mock {
  position: relative;
  max-width: 980px;
  margin: 48px auto 0;
  text-align: left;
}
.discord-mock-window {
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 20px;
  /* No backdrop-filter here: a ~980px blurred card is re-sampled on every
     scroll frame and is the single biggest smooth-scroll killer. A near-opaque
     gradient keeps the glassy look for a tiny fraction of the cost. */
  background: linear-gradient(180deg, rgba(15, 22, 38, 0.94), rgba(9, 14, 26, 0.94));
  box-shadow: 0 48px 110px rgba(0, 0, 0, 0.55);
  overflow: hidden;
}
.discord-mock-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.discord-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.discord-mock-bar-title {
  margin-left: 12px;
  font-size: 0.82rem;
  color: var(--dsc-muted);
  font-weight: 500;
}
.discord-mock-body {
  padding: 26px;
}
.discord-landing .discord-search-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #0B101B;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  padding: 6px 6px 6px 20px;
  box-shadow: none;
}
.discord-landing .discord-search-bar:hover,
.discord-landing .discord-search-bar:focus-within {
  border-color: rgba(184, 243, 73, 0.55);
  box-shadow: 0 0 0 3px rgba(184, 243, 73, 0.12);
}
.discord-landing .discord-search-input {
  height: 52px;
  font-size: 1rem;
  color: var(--dsc-text);
  padding: 0 6px;
}
.discord-landing .discord-search-input::placeholder {
  color: var(--dsc-muted);
}
.discord-landing .discord-search-pill {
  height: 44px;
  padding: 0 24px;
  background: var(--dsc-green);
  color: #05070D;
  border: none;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.92rem;
  animation: none;
  box-shadow: 0 6px 18px rgba(184, 243, 73, 0.3);
  flex-shrink: 0;
}
.discord-landing .discord-search-pill:hover {
  background: #C9F964;
  transform: translateY(-1px);
}
.discord-mock-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}
.discord-mock-card {
  background: #0B101B;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 16px;
  transition: all 0.22s ease;
}
.discord-mock-card:hover {
  transform: translateY(-4px);
  border-color: rgba(184, 243, 73, 0.4);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.4);
}
.discord-mock-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.discord-mock-card-logo {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(184, 243, 73, 0.12);
  border: 1px solid rgba(184, 243, 73, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--dsc-green);
}
.discord-mock-card-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.discord-mock-rank {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--dsc-green);
  background: rgba(184, 243, 73, 0.1);
  border: 1px solid rgba(184, 243, 73, 0.25);
  padding: 3px 9px;
  border-radius: 9999px;
}
.discord-mock-card-name {
  font-size: 0.96rem;
  font-weight: 800;
  color: var(--dsc-text);
  margin-bottom: 4px;
}
.discord-mock-card-tag {
  font-size: 0.78rem;
  color: var(--dsc-muted);
  line-height: 1.45;
  min-height: 36px;
  margin-bottom: 10px;
}
.discord-mock-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.76rem;
  color: var(--dsc-text);
}
.discord-mock-card-price {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--dsc-green);
  background: rgba(184, 243, 73, 0.1);
  border-radius: 9999px;
  padding: 3px 10px;
}

/* Floating cards over the hero mock */
.discord-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 11px;
  background: rgba(16, 23, 38, 0.92);
  border: 1px solid rgba(184, 243, 73, 0.28);
  border-radius: 16px;
  padding: 13px 16px;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.5);
  animation: discordFloat 6s ease-in-out infinite;
  z-index: 2;
}
.discord-float-card-1 {
  top: -26px;
  left: -34px;
}
.discord-float-card-2 {
  bottom: 40px;
  right: -30px;
  animation-delay: -3s;
}
.discord-float-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(184, 243, 73, 0.14);
  border: 1px solid rgba(184, 243, 73, 0.3);
  color: var(--dsc-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.discord-float-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--dsc-text);
  white-space: nowrap;
}
.discord-float-sub {
  font-size: 0.74rem;
  color: var(--dsc-muted);
  white-space: nowrap;
}
@keyframes discordFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Hero chips */
.discord-hero-chips {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-bottom: 90px;
}
.discord-landing .landing-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.11);
  color: var(--dsc-text);
  box-shadow: none;
  padding: 9px 16px;
}
.discord-landing .landing-chip:hover {
  border-color: rgba(184, 243, 73, 0.5);
  color: var(--dsc-text);
  background: rgba(184, 243, 73, 0.08);
  box-shadow: 0 8px 22px rgba(184, 243, 73, 0.16);
  transform: translateY(-3px);
}

/* ---- Marquee ticker ---- */
.discord-marquee {
  position: relative;
  z-index: 1;
  margin-top: 0;
  padding: 26px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(184, 243, 73, 0.04);
  overflow: hidden;
  white-space: nowrap;
}
.discord-marquee-track {
  display: inline-flex;
  gap: 60px;
  padding-right: 60px;
  animation: discordMarquee 30s linear infinite;
  will-change: transform;
}
.discord-marquee-track span {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 1.35rem;
  letter-spacing: 0.05em;
  color: rgba(242, 245, 248, 0.28);
  flex-shrink: 0;
}
@keyframes discordMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .discord-marquee-track {
    animation: none;
  }
  .discord-hero-glow {
    display: none;
  }
}

/* ---- Discord-style bands ---- */
.discord-band {
  position: relative;
  z-index: 1;
  padding: 110px clamp(20px, 6vw, 96px);
}
.discord-band-inner {
  max-width: 1180px;
  margin: 0 auto;
}
.discord-split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.discord-split-reverse {
  grid-template-columns: 1fr 1.05fr;
}
.discord-split-text {
  min-width: 0;
}
.discord-split-visual {
  min-width: 0;
}
.discord-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  color: var(--dsc-green);
  margin-bottom: 18px;
}
.discord-kicker i {
  color: var(--dsc-green);
}
.discord-kicker-center {
  justify-content: center;
}
.discord-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: clamp(1.9rem, 3.6vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--dsc-text);
  margin: 0 0 18px 0;
}
.discord-title-center {
  text-align: center;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.discord-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--dsc-muted);
  max-width: 520px;
}
.discord-desc-center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.discord-link-row {
  margin-top: 30px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.discord-center {
  justify-content: center;
}
.discord-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: 1.5px solid rgba(184, 243, 73, 0.5);
  color: var(--dsc-green);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 13px 26px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.discord-link-btn:hover {
  background: rgba(184, 243, 73, 0.1);
  border-color: var(--dsc-green);
  transform: translateY(-2px);
}

/* ---- Feature grid ---- */
.discord-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.discord-feature-card {
  background: rgba(16, 23, 38, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  padding: 22px;
  transition: all 0.25s ease;
}
.discord-feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(184, 243, 73, 0.4);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
}
.discord-feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(184, 243, 73, 0.12);
  border: 1px solid rgba(184, 243, 73, 0.25);
  color: var(--dsc-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.discord-feature-card h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--dsc-text);
  margin-bottom: 6px;
}
.discord-feature-card p {
  font-size: 0.85rem;
  color: var(--dsc-muted);
  line-height: 1.55;
}

/* ---- Compare mock ---- */
.discord-compare-mock {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 18px;
  align-items: center;
  min-width: 0;
}
.discord-compare-col {
  background: rgba(16, 23, 38, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.discord-compare-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(11, 16, 27, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  padding: 12px 14px;
  min-width: 0;
}
.discord-compare-row > div:last-child {
  min-width: 0;
}
.discord-compare-logo {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}
.discord-compare-name {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--dsc-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.discord-compare-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  color: var(--dsc-muted);
}
.discord-compare-vs {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--dsc-green);
  color: #05070D;
  font-weight: 900;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 34px rgba(184, 243, 73, 0.4);
  flex-shrink: 0;
}
.discord-match-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding: 10px 20px;
  border-radius: 9999px;
  background: rgba(184, 243, 73, 0.12);
  border: 1px solid rgba(184, 243, 73, 0.35);
  color: var(--dsc-green);
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 10px 30px rgba(184, 243, 73, 0.16);
}
.discord-match-pill i {
  color: var(--dsc-green);
}

/* ---- Bullet list (compare band text) ---- */
.discord-bullets {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.discord-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.discord-bullet-icon {
  width: 40px;
  height: 40px;
  border-radius: 13px;
  background: rgba(184, 243, 73, 0.12);
  border: 1px solid rgba(184, 243, 73, 0.25);
  color: var(--dsc-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.discord-bullet-title {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--dsc-text);
  margin-bottom: 3px;
}
.discord-bullet-desc {
  font-size: 0.85rem;
  color: var(--dsc-muted);
  line-height: 1.55;
}

/* ---- Centered section header ---- */
.discord-center-head {
  margin-bottom: 52px;
}

/* ---- Catalog cards (curated) ---- */
.discord-catalog-card {
  background: rgba(16, 23, 38, 0.75) !important;
  border: 1px solid rgba(255, 255, 255, 0.09) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3) !important;
}
.discord-catalog-card:hover {
  border-color: rgba(184, 243, 73, 0.45) !important;
  transform: translateY(-5px);
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.42) !important;
}
/* The 70-card curated grid stays fully visible and static: revealing ~70
   items in a staggered burst the moment this section opens is what made
   scrolling hitch right there. All other sections keep their entrance
   animation — this grid is the only dense, per-item animated block. */
.discord-landing .curated-tool-card.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

/* ---- Steps ---- */
.discord-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.discord-step-card {
  position: relative;
  text-align: left;
  background: rgba(16, 23, 38, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  padding: 26px 24px;
  transition: all 0.25s ease;
  overflow: hidden;
}
.discord-step-card:hover {
  transform: translateY(-4px);
  border-color: rgba(184, 243, 73, 0.4);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35);
}
.discord-step-num {
  position: absolute;
  top: 14px;
  right: 18px;
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 2.4rem;
  letter-spacing: -0.03em;
  color: rgba(184, 243, 73, 0.18);
  line-height: 1;
}
.discord-step-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(184, 243, 73, 0.12);
  border: 1px solid rgba(184, 243, 73, 0.25);
  color: var(--dsc-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.discord-step-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--dsc-text);
  margin-bottom: 6px;
}
.discord-step-card p {
  font-size: 0.86rem;
  color: var(--dsc-muted);
  line-height: 1.6;
}

/* ---- Pricing (Discord-style cards) ---- */
.discord-landing .landing-plan-grid.discord-plan-grid {
  max-width: 1100px;
  margin: 0 auto;
  gap: 22px;
}
.discord-landing .landing-plan-card.discord-plan-card {
  background: rgba(16, 23, 38, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 20px;
  padding: 30px 28px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
}
.discord-landing .landing-plan-card.discord-plan-card:hover {
  border-color: rgba(184, 243, 73, 0.4);
  transform: translateY(-4px);
}
.discord-landing .landing-plan-card.discord-plan-popular {
  border: 2px solid var(--dsc-green) !important;
  box-shadow: 0 0 0 1px var(--dsc-green), 0 24px 60px rgba(184, 243, 73, 0.18);
}
.discord-plan-tag {
  display: inline-flex;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--dsc-muted);
  margin-bottom: 12px;
}
.discord-plan-tag-green {
  color: #05070D;
  background: var(--dsc-green);
  border-radius: 9999px;
  padding: 5px 12px;
}
.discord-landing .discord-plan-card .landing-plan-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--dsc-text);
}
.discord-landing .discord-plan-card .landing-plan-price {
  color: var(--dsc-text);
  font-family: 'Poppins', sans-serif;
}
.discord-landing .discord-plan-card .landing-plan-price span {
  color: var(--dsc-muted);
}
.discord-landing .discord-plan-card .landing-plan-divider {
  background: rgba(255, 255, 255, 0.09);
}
.discord-landing .discord-plan-card .landing-plan-list li {
  color: var(--dsc-text);
}
.discord-landing .discord-plan-card .landing-plan-list li i {
  color: var(--dsc-green);
}
.discord-plan-cta {
  width: 100%;
  padding: 14px 0;
  border-radius: 9999px;
  font-family: inherit;
  font-weight: 800;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.07);
  color: var(--dsc-text);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: all 0.2s ease;
}
.discord-plan-cta:hover {
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-1px);
}
.discord-plan-cta-primary {
  background: var(--dsc-green);
  color: #05070D;
  border: none;
  box-shadow: 0 8px 24px rgba(184, 243, 73, 0.28);
}
.discord-plan-cta-primary:hover {
  background: #C9F964;
}
.discord-plan-note {
  color: var(--dsc-muted);
  font-size: 0.74rem;
}

/* ---- Final CTA ---- */
.discord-final {
  position: relative;
  z-index: 1;
  padding: 120px clamp(20px, 6vw, 96px);
  text-align: center;
  overflow: hidden;
}
.discord-final-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--dsc-text);
  max-width: 860px;
  margin: 0 auto 24px;
}
.discord-cta-primary-lg {
  height: 62px;
  padding: 0 44px;
  font-size: 1.1rem;
}

/* ---- Footer ---- */
.discord-footer {
  position: relative;
  z-index: 1;
  background: #03040A;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 64px clamp(20px, 6vw, 96px) 36px;
}
.discord-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
}
.discord-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 44px;
}
.discord-footer h4 {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--dsc-muted);
  margin: 0 0 16px 0;
}
.discord-footer a {
  display: block;
  color: var(--dsc-text);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  padding: 4px 0;
  opacity: 0.78;
  transition: opacity 0.18s ease, color 0.18s ease;
}
.discord-footer a:hover {
  opacity: 1;
  color: var(--dsc-green);
}
.discord-footer-brand p {
  font-size: 0.88rem;
  color: var(--dsc-muted);
  line-height: 1.65;
  max-width: 300px;
  margin: 16px 0 22px;
}
.discord-footer-social {
  display: flex;
  gap: 10px;
}
.discord-social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dsc-text);
  padding: 0;
  opacity: 1;
  transition: all 0.2s ease;
}
.discord-social-btn:hover {
  background: var(--dsc-green);
  color: #05070D;
  transform: translateY(-3px);
  opacity: 1;
}
.discord-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--dsc-muted);
}
.discord-footer-bottom-left {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
/* Language switcher in the footer bottom bar (opens upward near the page end) */
.discord-footer .lang-switcher-btn {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--dsc-text);
}
.discord-footer .lang-switcher-btn:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--dsc-green);
}
.discord-footer .lang-switcher-menu {
  background: var(--dsc-bg-card);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6);
  top: auto;
  bottom: calc(100% + 10px);
}
.discord-footer-brandrow {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.discord-footer-brandrow .discord-brand {
  gap: 9px;
}
.discord-footer-brandrow .discord-wordmark {
  font-size: 1.05rem;
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .discord-landing .discord-nav-links {
    display: none;
  }
  .discord-landing .discord-burger {
    display: flex;
  }
  .discord-nav-inner {
    grid-template-columns: 1fr auto;
  }
}
@media (max-width: 640px) {
  .discord-mobile-sheet {
    width: 100%;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    padding: 16px;
  }
}
.discord-landing.nav-collapsed .discord-nav-links {
  display: none;
}
.discord-landing.nav-collapsed .discord-burger {
  display: flex;
}
.discord-landing.nav-collapsed .discord-nav-inner {
  grid-template-columns: 1fr auto;
}

@media (max-width: 960px) {
  .discord-split,
  .discord-split-reverse {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .discord-split-reverse .discord-split-visual {
    order: 2;
  }
  .discord-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .discord-footer-brand {
    grid-column: 1 / -1;
  }
  .discord-float-card-1 { left: -14px; }
  .discord-float-card-2 { right: -14px; }
}

@media (max-width: 767px) {
  .discord-landing .landing-hero-wrap.discord-hero {
    padding: 120px 18px 0;
  }
  .discord-hero-title {
    font-size: 2.15rem;
  }
  .discord-hero-sub {
    font-size: 0.95rem;
  }
  .discord-cta-primary,
  .discord-cta-ghost {
    width: 100%;
    max-width: 320px;
  }
  .discord-mock-cards {
    grid-template-columns: 1fr;
  }
  .discord-float-card {
    display: none;
  }
  .discord-band {
    padding: 80px 20px;
  }
  .discord-feature-grid {
    grid-template-columns: 1fr;
  }
  .discord-compare-mock {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .discord-compare-vs {
    margin: 4px auto;
    width: 48px;
    height: 48px;
    font-size: 0.88rem;
  }
  .discord-compare-col {
    padding: 14px;
  }
  .discord-compare-row {
    padding: 12px;
  }
  .discord-match-pill {
    margin-top: 20px;
  }
  .discord-steps,
  .discord-landing .landing-plan-grid.discord-plan-grid {
    grid-template-columns: 1fr;
  }
  .discord-final {
    padding: 90px 20px;
  }
}

/* ---- Light theme (logged-in users with light preference) ---- */
[data-theme="light"] .discord-landing {
  --dsc-bg: #FFFFFF;
  --dsc-bg-soft: #F6F7F9;
  --dsc-bg-card: #FFFFFF;
  --dsc-text: #0F141B;
  --dsc-muted: #5C6773;
  --dsc-border: rgba(15, 20, 27, 0.10);
  background:
    radial-gradient(1100px 640px at 50% -140px, rgba(184, 243, 73, 0.26), transparent 62%),
    radial-gradient(820px 540px at 88% 14%, rgba(151, 222, 34, 0.18), transparent 58%),
    radial-gradient(760px 620px at 6% 40%, rgba(151, 222, 34, 0.12), transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, #F6F9EC 50%, #EFF5DE 100%);
}
[data-theme="light"] .discord-landing .landing-header.discord-nav {
  background: rgba(255, 255, 255, 0.55);
  border-bottom: none;
  box-shadow: none;
}
[data-theme="light"] .discord-landing .landing-header.discord-nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}
[data-theme="light"] .discord-landing .discord-wordmark {
  color: var(--dsc-text);
}
[data-theme="light"] .discord-landing .discord-nav-links .landing-nav-link {
  color: rgba(15, 20, 27, 0.75);
}
[data-theme="light"] .discord-landing .discord-nav-links .landing-nav-link:hover {
  color: #0B1200;
  background: var(--dsc-green);
}
[data-theme="light"] .discord-landing .discord-login-btn {
  background: #000000;
  color: #FFFFFF;
}
[data-theme="light"] .discord-landing .discord-login-btn:hover {
  background: #1F2937;
}
[data-theme="light"] .discord-landing .discord-burger {
  background: rgba(15, 20, 27, 0.06);
  border: none;
  color: var(--dsc-text);
}
[data-theme="light"] .discord-landing .discord-burger:hover {
  background: rgba(15, 20, 27, 0.14);
}
[data-theme="light"] .discord-landing .discord-nav-actions .lang-switcher-btn {
  background: rgba(15, 20, 27, 0.06);
  color: var(--dsc-text);
}
[data-theme="light"] .discord-landing .discord-nav-actions .lang-switcher-btn:hover {
  background: rgba(15, 20, 27, 0.14);
}
[data-theme="light"] .discord-landing .discord-nav-actions .lang-switcher-menu {
  background: #FFFFFF;
  border: 1px solid rgba(15, 20, 27, 0.10);
}
[data-theme="light"] .discord-landing .discord-cta-primary {
  background: #000000;
  color: #FFFFFF;
}
[data-theme="light"] .discord-landing .discord-cta-primary:hover {
  background: var(--dsc-green-strong);
  color: #05070D;
}
[data-theme="light"] .discord-landing .discord-cta-ghost {
  background: rgba(15, 20, 27, 0.05);
  color: var(--dsc-text);
  border: 1px solid rgba(15, 20, 27, 0.14);
}
[data-theme="light"] .discord-landing .discord-cta-ghost:hover {
  background: rgba(15, 20, 27, 0.09);
}
[data-theme="light"] .discord-landing .discord-mock-window {
  background: rgba(246, 247, 249, 0.9);
  border-color: rgba(15, 20, 27, 0.1);
  box-shadow: 0 48px 110px rgba(0, 0, 0, 0.16);
}
[data-theme="light"] .discord-landing .discord-mock-body {
  background: transparent;
}
[data-theme="light"] .discord-landing .discord-search-bar,
[data-theme="light"] .discord-landing .discord-mock-card {
  background: #FFFFFF;
  border-color: rgba(15, 20, 27, 0.1);
}
[data-theme="light"] .discord-landing .discord-mock-card-tag,
[data-theme="light"] .discord-landing .discord-mock-bar-title {
  color: var(--dsc-muted);
}
[data-theme="light"] .discord-landing .discord-mock-card-name {
  color: var(--dsc-text);
}
[data-theme="light"] .discord-landing .discord-feature-card,
[data-theme="light"] .discord-landing .discord-step-card,
[data-theme="light"] .discord-landing .discord-compare-col,
[data-theme="light"] .discord-landing .discord-compare-row,
[data-theme="light"] .discord-landing .discord-catalog-card,
[data-theme="light"] .discord-landing .discord-plan-card {
  background: #FFFFFF;
  border-color: rgba(15, 20, 27, 0.10);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.05);
}
[data-theme="light"] .discord-landing .discord-float-card {
  background: #FFFFFF;
  border-color: rgba(182, 218, 15, 0.4);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.16);
}
[data-theme="light"] .discord-landing .discord-marquee {
  background: rgba(182, 218, 15, 0.06);
}
[data-theme="light"] .discord-landing .discord-marquee-track span {
  color: rgba(15, 20, 27, 0.28);
}
[data-theme="light"] .discord-landing .landing-chip {
  background: rgba(15, 20, 27, 0.04);
  border-color: rgba(15, 20, 27, 0.12);
  color: var(--dsc-text);
}
[data-theme="light"] .discord-landing .discord-link-btn {
  color: #4A8A00;
  border-color: rgba(74, 138, 0, 0.4);
}
[data-theme="light"] .discord-landing .discord-link-btn:hover {
  background: rgba(182, 218, 15, 0.1);
  border-color: #6BA700;
}
[data-theme="light"] .discord-landing .discord-footer {
  background: #F1F3F5;
  border-top-color: rgba(15, 20, 27, 0.07);
}
[data-theme="light"] .discord-landing .discord-footer-bottom {
  border-top-color: rgba(15, 20, 27, 0.07);
}
[data-theme="light"] .discord-landing .discord-footer .lang-switcher-btn {
  background: rgba(15, 20, 27, 0.06);
  border-color: rgba(15, 20, 27, 0.14);
  color: var(--dsc-text);
}
[data-theme="light"] .discord-landing .discord-footer .lang-switcher-menu {
  background: #FFFFFF;
  border-color: rgba(15, 20, 27, 0.12);
}
[data-theme="light"] .discord-landing .discord-social-btn {
  background: rgba(15, 20, 27, 0.07);
  color: var(--dsc-text);
}
[data-theme="light"] .discord-landing .discord-social-btn:hover {
  background: #000000;
  color: #FFFFFF;
}
