/* ==============================================================================
   CLIPLY — CORE MONOCHROME DESIGN SYSTEM (LARGE DISPLAY & FULL RESPONSIVE)
   ============================================================================== */

:root {
  --bg: #ffffff;
  --bg-rgb: 255, 255, 255;
  --bg-subtle: #f8f8fa;
  --surface: #ffffff;
  --surface-hover: #f1f1f4;
  --border: #e4e4e7;
  --border-subtle: #ececf0;
  --text: #09090b;
  --text-muted: #646470;
  --text-subtle: #9494a0;
  --primary: #09090b;
  --primary-text: #ffffff;
  --card-shadow: 0 10px 30px -4px rgba(0, 0, 0, 0.04), 0 2px 8px -1px rgba(0, 0, 0, 0.02);
  --float-shadow: 0 16px 40px -4px rgba(0, 0, 0, 0.07);
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Merriweather", "Georgia", "Cambria", serif;
  --font-mono: "Fira Code", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --font-handwriting: "Caveat", cursive, sans-serif;
  --font-display: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-poppins: "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-playfair: "Playfair Display", Georgia, Cambria, serif;
  --font-outfit: "Outfit", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-jetbrains: "JetBrains Mono", ui-monospace, Menlo, Monaco, Consolas, monospace;
  --font-dancing: "Dancing Script", cursive;
  --font-montserrat: "Montserrat", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-space: "Space Grotesk", -apple-system, BlinkMacSystemFont, sans-serif;
}

:root.dark,
html.dark,
body.dark {
  --bg: #09090b;
  --bg-rgb: 9, 9, 11;
  --bg-subtle: #111114;
  --surface: #141418;
  --surface-hover: #202026;
  --border: #27272e;
  --border-subtle: #1c1c22;
  --text: #f4f4f6;
  --text-muted: #a0a0ab;
  --text-subtle: #5b5b66;
  --primary: #f4f4f6;
  --primary-text: #09090b;
  --card-shadow: 0 10px 30px -4px rgba(0, 0, 0, 0.4);
  --float-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

/* Brand Logo display rules */
.logo-dark {
  display: none !important;
}
.logo-light {
  display: inline-block !important;
}
.dark .logo-dark,
body.dark .logo-dark,
html.dark .logo-dark {
  display: inline-block !important;
}
.dark .logo-light,
body.dark .logo-light,
html.dark .logo-light {
  display: none !important;
}

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

/* ZERO BORDER GLOBAL POLICY */
button, input, textarea, select, .btn, .card, nav, .navbar, 
.mobile-nav-drawer, .mobile-nav-item, .mobile-grid-item, .mobile-featured-install-card,
.mobile-drawer-topbar, .mobile-drawer-close-btn, .footer, .pricing-card {
  border: none !important;
  outline: none !important;
}

html, body {
  min-height: 100%;
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.2s ease, color 0.2s ease;
}

a, button, input, textarea, select, [role="button"] {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  background: none;
  border: none;
  font: inherit;
  color: inherit;
  cursor: pointer;
  touch-action: manipulation;
}

input, textarea, select {
  font: inherit;
  color: inherit;
}

/* Custom Minimal Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(140, 140, 150, 0.25);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(140, 140, 150, 0.45);
}
body.dark ::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
}
body.dark ::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Fluid responsive containers for large PC monitors (no awkward side gaps) */
.full-width-container {
  width: 100%;
  max-width: 1600px;
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(20px, 4vw, 64px);
  padding-right: clamp(20px, 4vw, 64px);
}

/* Sticky Navbar on Landing & Public Pages */
.sticky-nav {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(var(--bg-rgb), 0.88);
  border: none !important;
  box-shadow: none !important;
  transition: background-color 0.2s ease;
}
.sticky-nav.scrolled {
  box-shadow: none !important;
}
body.dark .sticky-nav.scrolled {
  box-shadow: none !important;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding-left: clamp(20px, 4vw, 64px);
  padding-right: clamp(20px, 4vw, 64px);
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--text);
  line-height: 1;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  transition: opacity 0.15s ease;
}
.brand-link:hover {
  opacity: 0.95;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
}
.brand-img {
  height: 42px;
  max-height: 42px;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
  border-radius: 9px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border: none !important;
  filter: none !important;
  position: relative;
  top: 1px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.brand-link:hover .brand-img {
  transform: scale(1.1) rotate(-2deg);
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
}
body.dark .brand-link:hover .brand-img {
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}
.nav-link-item {
  position: relative;
  padding: 6px 2px;
  transition: color 0.18s ease;
}
.nav-link-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--text);
  transition: width 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-link-item:hover {
  color: var(--text);
}
.nav-link-item:hover::after {
  width: 100%;
}

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

/* Clean Professional Buttons with Micro-interactions & Echo Effect */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: none !important;
  outline: none;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.25s ease, color 0.25s ease, box-shadow 0.35s ease;
  user-select: none;
  white-space: nowrap;
  position: relative;
  overflow: visible;
}

/* Echo effect: 2 replica layers smoothly deploying on standard buttons */
.btn::before,
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;
  opacity: 0;
  transform: translate(0, 0);
  background: inherit;
}

.btn::before {
  z-index: -1;
  transition: transform 0.42s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.35s ease-out;
}

.btn::after {
  z-index: -2;
  transition: transform 0.52s cubic-bezier(0.34, 1.6, 0.64, 1) 0.04s, opacity 0.45s ease-out 0.04s;
}

.btn:hover::before {
  opacity: 0.32;
  transform: translate(5px, 5px);
  filter: blur(0.4px);
}

.btn:hover::after {
  opacity: 0.15;
  transform: translate(10px, 10px);
  filter: blur(0.8px);
}

body.dark .btn:hover::before {
  opacity: 0.42;
  transform: translate(5px, 5px);
}

body.dark .btn:hover::after {
  opacity: 0.20;
  transform: translate(10px, 10px);
}

.btn:active {
  transform: translate(2px, 2px);
  transition: transform 0.12s ease;
}

.btn:active::before {
  transform: translate(2px, 2px);
  opacity: 0.2;
}

.btn:active::after {
  transform: translate(4px, 4px);
  opacity: 0.08;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--primary-text);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.btn-primary::before,
.btn-primary::after {
  background-color: var(--primary);
}
.btn-primary:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
  opacity: 0.96;
}

.btn-outline {
  border: none !important;
  background-color: var(--bg-subtle);
  color: var(--text);
}
.btn-outline::before,
.btn-outline::after {
  display: none !important;
  content: none !important;
  opacity: 0 !important;
}
.btn-outline:hover {
  background-color: var(--surface-hover);
  transform: none !important;
  box-shadow: none !important;
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
}
.btn-ghost:hover {
  background-color: var(--surface-hover);
  color: var(--text);
}

/* -------------------------------------------------------------------------
   SMOOTH 1s+ LANGUAGE TRANSITION EFFECT
   ------------------------------------------------------------------------- */
[data-i18n],
.current-lang-label,
[data-i18n-placeholder],
[data-i18n-title] {
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), color 0.5s ease;
  will-change: opacity;
}

body.i18n-changing [data-i18n],
body.i18n-changing .current-lang-label,
body.i18n-changing [data-i18n-placeholder] {
  opacity: 0 !important;
}

/* -------------------------------------------------------------------------
   NAVBAR CONTROLS: THEME & LANGUAGE BUTTONS (UNIFIED DESIGN ACROSS ALL PAGES & APP)
   ------------------------------------------------------------------------- */
.nav-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-controls .btn-lang,
.nav-controls .btn-icon,
.nav-controls .lang-toggle-btn,
.nav-controls .theme-toggle-btn,
.btn-lang,
.btn-icon,
.lang-toggle-btn,
.theme-toggle-btn,
.nav-control-transparent {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: transparent !important;
  border: none !important;
  border-radius: var(--radius-sm, 8px) !important;
  box-shadow: none !important;
  padding: 8px 12px !important;
  color: var(--text-muted) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transform: none !important;
  line-height: 1 !important;
  transition: background-color 0.2s ease, color 0.2s ease !important;
}

.nav-controls .btn-lang:hover,
.nav-controls .btn-icon:hover,
.nav-controls .lang-toggle-btn:hover,
.nav-controls .theme-toggle-btn:hover,
.btn-lang:hover,
.btn-icon:hover,
.lang-toggle-btn:hover,
.theme-toggle-btn:hover,
.nav-control-transparent:hover {
  background: rgba(120, 120, 130, 0.12) !important;
  color: var(--text) !important;
  transform: none !important;
  box-shadow: none !important;
}

.nav-controls .btn-lang::before,
.nav-controls .btn-lang::after,
.nav-controls .btn-icon::before,
.nav-controls .btn-icon::after,
.nav-controls .lang-toggle-btn::before,
.nav-controls .lang-toggle-btn::after,
.nav-controls .theme-toggle-btn::before,
.nav-controls .theme-toggle-btn::after,
.btn-lang::before,
.btn-lang::after,
.btn-icon::before,
.btn-icon::after,
.lang-toggle-btn::before,
.lang-toggle-btn::after,
.theme-toggle-btn::before,
.theme-toggle-btn::after,
.nav-control-transparent::before,
.nav-control-transparent::after,
.footer-pref-box .btn::before,
.footer-pref-box .btn::after {
  display: none !important;
  content: none !important;
  opacity: 0 !important;
}

.btn-icon,
.btn-lang,
.theme-toggle-btn,
.lang-toggle-btn,
.footer-pref-box .btn {
  transform: none !important;
}

.btn-icon::before,
.btn-icon::after,
.btn-lang::before,
.btn-lang::after,
.theme-toggle-btn::before,
.theme-toggle-btn::after,
.lang-toggle-btn::before,
.lang-toggle-btn::after,
.footer-pref-box .btn::before,
.footer-pref-box .btn::after {
  display: none !important;
  content: none !important;
  opacity: 0 !important;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  border: none !important;
  background-color: var(--bg-subtle);
  color: var(--text);
  letter-spacing: -0.01em;
}

/* Stylized Callout / Info Cards */
.callout-block {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: none !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  background: var(--bg-subtle);
  margin: 8px 0;
  position: relative;
  transition: box-shadow 0.15s ease;
}
.callout-block:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}
.callout-badge-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-xs);
  background: var(--text);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
  margin-top: 2px;
}
.callout-content {
  flex: 1;
  min-width: 0;
}

/* Simple Notepad Block (Bloc-notes) */
.notepad-block {
  border: none !important;
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  margin: 10px 0;
  transition: box-shadow 0.2s ease;
}
.notepad-block:focus-within {
  box-shadow: var(--float-shadow);
}
.notepad-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: var(--bg-subtle);
  border-bottom: none !important;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}
.notepad-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}
.notepad-stats {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--text-subtle);
}
.notepad-textarea {
  width: 100%;
  min-height: 110px;
  padding: 14px 16px;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text);
  font-size: 15px;
  line-height: 1.7;
  resize: vertical;
}

/* Floating Scratchpad Drawer (Tiroir Mémo Rapide) */
#floating-scratchpad {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 380px;
  max-width: calc(100vw - 32px);
  background: var(--surface);
  border: none !important;
  border-radius: var(--radius-md);
  box-shadow: var(--float-shadow);
  z-index: 1000;
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: slideUp 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
#floating-scratchpad.open {
  display: flex;
}
.scratchpad-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: var(--bg-subtle);
  border-bottom: none !important;
  font-size: 13px;
  font-weight: 700;
}
.scratchpad-body {
  padding: 12px 14px;
}
.scratchpad-body textarea {
  width: 100%;
  height: 180px;
  border: none;
  outline: none;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  line-height: 1.6;
  resize: none;
}
.scratchpad-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  border-top: none !important;
  font-size: 11px;
  color: var(--text-muted);
}

/* Cookie Consent Banner */
#cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: min(900px, calc(100vw - 32px));
  background: var(--surface);
  border: none !important;
  border-radius: var(--radius-md);
  box-shadow: var(--float-shadow);
  padding: 20px 24px;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
#cookie-banner.cookie-banner-hidden,
#cookie-banner[style*="display: none"] {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
@media (max-width: 768px) {
  #cookie-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}
.cookie-content {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}
.cookie-icon {
  font-size: 20px;
  color: var(--text);
  margin-top: 2px;
}
.cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Keyframes */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes slideUp {
  from { opacity: 0; transform: translate(-50%, 20px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

/* Pricing Top-Border Floating Badge */
.pricing-badge-top {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff !important;
  color: #000000 !important;
  padding: 6px 24px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22), 0 2px 6px rgba(0, 0, 0, 0.14);
  border: none !important;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  -webkit-font-smoothing: antialiased;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.pricing-badge-top:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3), 0 3px 8px rgba(0, 0, 0, 0.16);
}
body.dark .pricing-badge-top {
  background: #ffffff !important;
  color: #000000 !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.75), 0 3px 10px rgba(0, 0, 0, 0.5);
}

/* ==========================================================================
   Use Cases Tabs & Showcase Studio Layout
   ========================================================================== */
.use-cases-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.use-case-tab {
  padding: 10px 20px;
  border-radius: var(--radius-full);
  border: none !important;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--surface);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  position: relative;
}

.use-case-tab-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  color: var(--text-subtle);
  letter-spacing: 0.02em;
  transition: all 0.2s ease;
}

.use-case-tab:hover {
  transform: translateY(-2px);
  color: var(--text);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
}

.use-case-tab.active {
  background: var(--primary);
  color: var(--primary-text);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.use-case-tab.active .use-case-tab-badge {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

body.dark .use-case-tab {
  background: var(--surface);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

body.dark .use-case-tab:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

body.dark .use-case-tab.active {
  background: #ffffff;
  color: #09090b;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.85);
}

body.dark .use-case-tab.active .use-case-tab-badge {
  background: rgba(0, 0, 0, 0.12);
  color: #09090b;
}

/* Use Case Content Card Container (Seamless floating layout - No background or box-shadow on outer container) */
.use-case-content {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 36px;
  align-items: stretch;
  padding: 24px 0;
  background: transparent !important;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
  position: relative;
  text-align: left;
  animation: useCaseFadeSlide 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  will-change: opacity, transform;
}

body.dark .use-case-content {
  background: transparent !important;
  box-shadow: none !important;
}

/* Left Info Column */
.use-case-info-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: space-between;
}

.use-case-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  width: fit-content;
  border: none !important;
}

body.dark .use-case-badge-pill {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.use-case-hero-title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.28;
  margin: 0;
  color: var(--text);
  letter-spacing: -0.02em;
}

.use-case-hero-desc {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

.use-case-features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}

.use-case-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  border: none !important;
  transition: all 0.22s ease;
}

body.dark .use-case-feat-item {
  background: rgba(255, 255, 255, 0.03);
}

.use-case-feat-item:hover {
  transform: translateX(4px);
  background: var(--surface-hover);
}

body.dark .use-case-feat-item:hover {
  background: rgba(255, 255, 255, 0.06);
}

.use-case-feat-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

body.dark .use-case-feat-icon {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.use-case-feat-body {
  flex: 1;
}

.use-case-feat-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}

.use-case-feat-desc {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

.use-case-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 18px;
  border-top: none !important;
  margin-top: auto;
}

body.dark .use-case-stats-row {
  border-top: none !important;
}

.use-case-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.use-case-stat .stat-value {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.use-case-stat .stat-label {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-subtle);
  line-height: 1.3;
}

/* Right Column: Window Mockup */
.use-case-preview-col {
  display: flex;
  flex-direction: column;
}

.use-case-window {
  background: var(--bg-subtle);
  border-radius: var(--radius-md);
  border: none !important;
  overflow: hidden;
  box-shadow: 0 12px 32px -6px rgba(0, 0, 0, 0.06);
  height: 100%;
  display: flex;
  flex-direction: column;
}

body.dark .use-case-window {
  background: #0d0d12;
  box-shadow: 0 16px 44px -8px rgba(0, 0, 0, 0.85);
}

.use-case-window-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: var(--surface);
  border-bottom: none !important;
  gap: 12px;
}

body.dark .use-case-window-header {
  background: #15151c;
}

.window-title-path {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.window-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  padding: 3px 9px;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
}

body.dark .window-status-badge {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
}

.status-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px rgba(34, 197, 94, 0.6);
}

.use-case-window:hover .window-dot.red { background: #ff5f56; }
.use-case-window:hover .window-dot.yellow { background: #ffbd2e; }
.use-case-window:hover .window-dot.green { background: #27c93f; }

.use-case-window-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex-grow: 1;
}

.use-case-block-card {
  background: var(--surface);
  border-radius: var(--radius-sm);
  border: none !important;
  padding: 14px 16px;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

body.dark .use-case-block-card {
  background: #171720;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.use-case-block-card:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

body.dark .use-case-block-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

.block-card-tag {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-subtle);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.block-card-hint {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-subtle);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.block-code-preview {
  font-family: var(--font-mono);
  font-size: 12.5px;
  background: var(--bg-subtle);
  padding: 10px 12px;
  border-radius: var(--radius-xs);
  margin: 0;
  line-height: 1.55;
  color: var(--text);
  overflow-x: auto;
  border: none !important;
}

body.dark .block-code-preview {
  background: #09090d;
  color: #f1f1f4;
}

.block-text-preview {
  font-size: 13.5px;
  color: var(--text);
  line-height: 1.6;
  margin: 0;
}

.block-quote-preview {
  font-size: 13.5px;
  font-style: italic;
  color: var(--text);
  line-height: 1.6;
  margin: 0;
  padding-left: 14px;
  border-left: none !important;
  box-shadow: inset 3px 0 0 var(--text-subtle);
}

.interactive-checklist {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Keyframe for Use Case transitions */
@keyframes useCaseFadeSlide {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(0.995);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Responsive Use Cases Showcase */
@media (max-width: 960px) {
  .use-case-content {
    grid-template-columns: 1fr;
    padding: 26px;
    gap: 28px;
  }
  .use-case-hero-title {
    font-size: 21px;
  }
  .use-case-stats-row {
    gap: 8px;
  }
  .use-case-stat .stat-value {
    font-size: 16px;
  }
}

@media (max-width: 640px) {
  .use-cases-tabs {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 380px;
    margin-left: auto;
    margin-right: auto;
  }
  .use-case-tab {
    justify-content: center;
  }
  .use-case-stats-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@keyframes useCaseCalloutIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Pricing Grid & Hierarchy (Cloud highlighted) */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-card {
  border: none !important;
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  background: var(--surface);
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.88;
}

.pricing-card:hover {
  opacity: 1;
  transform: translateY(-4px);
}

/* Featured / Cloud Card Dominance */
.pricing-card.featured {
  opacity: 1 !important;
  transform: scale(1.05);
  z-index: 5;
  padding: 44px 34px;
  box-shadow: 0 24px 60px -8px rgba(0, 0, 0, 0.22), 0 8px 20px -4px rgba(0, 0, 0, 0.12);
  background: var(--surface);
}

body.dark .pricing-card.featured {
  box-shadow: 0 24px 60px -8px rgba(0, 0, 0, 0.85), 0 0 0 1.5px rgba(255, 255, 255, 0.14);
}

.pricing-card.featured:hover {
  transform: scale(1.07) translateY(-4px);
  box-shadow: 0 30px 70px -8px rgba(0, 0, 0, 0.28), 0 10px 24px -4px rgba(0, 0, 0, 0.16);
}

.pricing-card.featured .price-value {
  font-size: 48px;
  font-weight: 900;
  color: var(--text);
  margin: 18px 0 8px 0;
}

.pricing-card.featured .btn-primary {
  padding: 14px 22px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.26);
}

@media (max-width: 960px) {
  .pricing-card.featured {
    transform: none !important;
    padding: 38px 32px;
  }
  .pricing-card {
    opacity: 1;
  }
}

/* FAQ Accordion with Smooth Animation & Single Active Question */
.faq-list {
  max-width: 900px;
  margin: 0 auto;
  border: none !important;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  border: none !important;
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 0 !important;
  margin-bottom: 0 !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}
.faq-item:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}
.faq-item.active {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.07);
}
.faq-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  text-align: left;
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
  background: transparent;
  border: none !important;
  cursor: pointer;
  user-select: none;
  gap: 16px;
  transition: color 0.2s ease;
}
.faq-toggle:hover {
  color: var(--text);
}
.faq-icon {
  font-size: 13px;
  color: var(--text-subtle);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
  flex-shrink: 0;
}
.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--text);
}
.faq-content {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 24px !important;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.75;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.28s ease, padding-bottom 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: block !important;
}
.faq-item.active .faq-content {
  opacity: 1;
  padding-bottom: 22px !important;
}

/* ==========================================================================
   Hero Interactive Blocks Studio & Waouh Showcase
   ========================================================================== */
.hero-wrapper-outer {
  position: relative;
  width: 100%;
  padding-top: 10px;
}

.hero-bg-grid {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 620px;
  background-image: radial-gradient(circle, rgba(0, 0, 0, 0.06) 1.2px, transparent 1.2px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 30%, #000 30%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}
body.dark .hero-bg-grid {
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.08) 1.2px, transparent 1.2px);
}

.hero-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  background: var(--surface);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  border: none !important;
  margin-bottom: 24px;
  user-select: none;
  position: relative;
  z-index: 1;
}

.live-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text);
  position: relative;
  display: inline-block;
}

.live-pulse-dot::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid var(--text);
  opacity: 0.7;
  animation: liveDotPulse 2s cubic-bezier(0.2, 0.8, 0.4, 1) infinite;
}

@keyframes liveDotPulse {
  0% { transform: scale(0.8); opacity: 0.9; }
  100% { transform: scale(2.5); opacity: 0; }
}

/* Showcase Mockup (Large prominent hero container) */
.showcase-outer {
  position: relative;
  max-width: 1260px;
  width: 100%;
  margin: 36px auto 0 auto;
  z-index: 2;
}

/* The Window Mockup */
.demo-showcase {
  border: none !important;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 28px 72px -10px rgba(0, 0, 0, 0.14), 0 10px 28px -4px rgba(0, 0, 0, 0.06);
  overflow: hidden;
  text-align: left;
}

body.dark .demo-showcase {
  box-shadow: 0 28px 72px -10px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* Window Header */
.demo-window-header {
  padding: 16px 26px;
  background: var(--bg-subtle);
  border-bottom: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.window-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.window-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(120, 120, 130, 0.28);
  display: inline-block;
  transition: background 0.2s ease;
}

.demo-showcase:hover .window-dot:nth-child(1) { background: #ff5f56; }
.demo-showcase:hover .window-dot:nth-child(2) { background: #ffbd2e; }
.demo-showcase:hover .window-dot:nth-child(3) { background: #27c93f; }

.demo-tabs-nav {
  display: flex;
  gap: 8px;
  background: var(--surface);
  padding: 5px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.demo-tab-btn {
  padding: 9px 18px;
  border-radius: var(--radius-xs);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  border: none !important;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  user-select: none;
}

.demo-tab-btn:hover {
  color: var(--text);
  background: var(--bg-subtle);
}

.demo-tab-btn.active {
  background: var(--primary);
  color: var(--primary-text);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.demo-search-bar {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-xs);
  background: var(--surface);
  color: var(--text-subtle);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.demo-search-bar:hover {
  color: var(--text);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

/* Demo Body & Fixed Dimensions with Directional Carousel Slide */
.demo-body {
  padding: 24px 28px;
  height: 310px;
  min-height: 310px;
  max-height: 310px;
  position: relative;
  overflow: hidden;
}

.demo-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  position: absolute;
  inset: 24px 28px;
  height: calc(100% - 48px);
  will-change: transform, opacity;
}

@media (max-width: 768px) {
  .demo-body {
    height: auto;
    min-height: 440px;
    max-height: none;
  }
  .demo-panel {
    position: static;
    grid-template-columns: 1fr;
    height: auto;
  }
}

/* Directional slide animations: left-to-right and right-to-left */
.slide-in-right {
  animation: slideInFromRight 0.38s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.slide-in-left {
  animation: slideInFromLeft 0.38s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.slide-out-left {
  animation: slideOutToLeft 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.slide-out-right {
  animation: slideOutToRight 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideInFromRight {
  from {
    opacity: 0;
    transform: translateX(45px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes slideInFromLeft {
  from {
    opacity: 0;
    transform: translateX(-45px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

@keyframes slideOutToLeft {
  from {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateX(-45px) scale(0.98);
  }
}

@keyframes slideOutToRight {
  from {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
  to {
    opacity: 0;
    transform: translateX(45px) scale(0.98);
  }
}

.demo-panel-card {
  border: none !important;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  background: var(--bg-subtle);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  height: 100%;
  box-sizing: border-box;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.demo-panel-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

body.dark .demo-panel-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.demo-card-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: var(--radius-xs);
  background: var(--surface);
  color: var(--text-subtle);
}

/* Interactive Checklist Items on Landing Page */
.interactive-check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-xs);
  background: var(--surface);
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease;
}

.interactive-check-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.check-square {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  color: transparent;
}

.interactive-check-item.done .check-square {
  background: var(--text);
  color: var(--bg);
}

.interactive-check-item.done .check-label {
  text-decoration: line-through;
  opacity: 0.55;
}

.check-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: all 0.2s ease;
}

/* Typing cursor animation for AI showcase */
.ai-typewriter-cursor {
  display: inline-block;
  width: 2px;
  height: 15px;
  background: var(--text);
  margin-left: 2px;
  vertical-align: middle;
  animation: cursorBlink 0.9s infinite;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ==========================================================================
   Smooth Anchor Scroll Offset
   ========================================================================== */
html {
  scroll-behavior: smooth;
}
.section-wrapper,
section[id] {
  scroll-margin-top: 86px;
}

/* ==========================================================================
   Comparison Matrix & Why Cliply Outperforms Traditional Tools
   ========================================================================== */
.comparison-matrix-wrapper {
  max-width: 1140px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: none !important;
  box-shadow: var(--card-shadow);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

body.dark .comparison-matrix-wrapper {
  background: rgba(20, 20, 24, 0.95);
  box-shadow: 0 28px 72px -12px rgba(0, 0, 0, 0.85);
}

.comparison-matrix-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  text-align: left;
}

.comparison-matrix-table th,
.comparison-matrix-table td {
  padding: 16px 22px;
  border-bottom: none !important;
  font-size: 14px;
}

body.dark .comparison-matrix-table th,
body.dark .comparison-matrix-table td {
  border-bottom: none !important;
}

.comparison-matrix-table tbody tr:nth-child(even) {
  background: rgba(120, 120, 130, 0.025);
}

body.dark .comparison-matrix-table tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.018);
}

.comparison-matrix-table th {
  background: var(--bg-subtle);
  font-weight: 700;
  color: var(--text);
  font-size: 13.5px;
  letter-spacing: -0.01em;
}

body.dark .comparison-matrix-table th {
  background: #141419;
}

.col-cliply {
  background: rgba(0, 0, 0, 0.025);
}

.col-cliply {
  background: rgba(0, 0, 0, 0.038);
}

body.dark .col-cliply {
  background: rgba(255, 255, 255, 0.045);
}

th.col-cliply {
  background: rgba(0, 0, 0, 0.055);
}

body.dark th.col-cliply {
  background: rgba(255, 255, 255, 0.075);
}

.cliply-head-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--text);
  color: var(--bg);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.matrix-badge-best {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  color: #16a34a;
  background: transparent !important;
  padding: 0;
  margin-top: 3px;
}

body.dark .matrix-badge-best {
  color: #4ade80;
  background: transparent !important;
}

.comp-header-box {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.comp-header-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
}

.comp-header-flaw-tag {
  font-size: 11px;
  font-weight: 600;
  color: #ef4444;
  opacity: 0.9;
}

body.dark .comp-header-flaw-tag {
  color: #f87171;
}

.matrix-winner {
  font-size: 13.5px;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1.4;
}

.matrix-winner i {
  color: #22c55e;
  font-size: 14px;
  flex-shrink: 0;
}

body.dark .matrix-winner i {
  color: #4ade80;
}

.matrix-flaw {
  font-size: 13px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: flex-start;
  gap: 7px;
  line-height: 1.4;
}

.matrix-flaw i {
  color: #ef4444;
  font-size: 13px;
  margin-top: 2px;
  flex-shrink: 0;
}

body.dark .matrix-flaw i {
  color: #f87171;
}

.matrix-neutral {
  font-size: 13px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  line-height: 1.4;
}

.matrix-neutral i {
  color: var(--text-subtle);
  font-size: 11px;
  flex-shrink: 0;
}

.matrix-loser {
  color: var(--text-subtle);
  font-size: 13px;
}

.comparison-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  max-width: 1140px;
  margin: 36px auto 0 auto;
}

.comparison-card {
  padding: 28px 24px;
  background: var(--surface);
  border-radius: var(--radius-md);
  border: none !important;
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-align: left;
}

body.dark .comparison-card {
  background: rgba(20, 20, 24, 0.85);
}

.comparison-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.08);
}

body.dark .comparison-card:hover {
  box-shadow: 0 18px 40px -4px rgba(0, 0, 0, 0.75);
}

.comparison-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg-subtle);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 18px;
}

body.dark .comparison-card-icon {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.comparison-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.comparison-card-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   App Showcase & Multi-Platform Presentation (Airy, Flat, No-Border UX)
   ========================================================================== */
.app-showcase-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
  text-align: left;
}

.app-os-pills-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.app-os-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  border: none !important;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

body.dark .app-os-pill {
  background: rgba(255, 255, 255, 0.06);
  color: #f4f4f6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.app-showcase-title {
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.25;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.app-showcase-lead {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 26px;
}

.app-features-flow {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 34px;
}

.app-feat-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.app-feat-icon-bubble {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

body.dark .app-feat-icon-bubble {
  background: rgba(255, 255, 255, 0.06);
}

.app-feat-text {
  font-size: 13.8px;
  color: var(--text-muted);
  line-height: 1.55;
}

.app-feat-text strong {
  color: var(--text);
  font-weight: 700;
  display: block;
  margin-bottom: 2px;
}

/* Right Column: Single Clean Mockup Card without Nested Boxes */
.app-preview-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: none !important;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.08), 0 4px 16px rgba(0, 0, 0, 0.02);
  overflow: hidden;
  position: relative;
  text-align: left;
}

body.dark .app-preview-card {
  background: #131318;
  box-shadow: 0 28px 70px -12px rgba(0, 0, 0, 0.9);
}

.app-preview-topbar {
  padding: 14px 22px;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

body.dark .app-preview-topbar {
  background: #181820;
}

.app-preview-body {
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.app-note-headline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.app-note-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

.app-note-meta {
  font-size: 12px;
  color: var(--text-subtle);
  display: flex;
  align-items: center;
  gap: 8px;
}

.app-note-meta-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-subtle);
  opacity: 0.5;
}

.app-note-para {
  font-size: 14px;
  color: var(--text);
  line-height: 1.65;
}

.app-note-checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.app-note-checkitem {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13.5px;
  color: var(--text);
}

.app-note-checkitem i {
  color: var(--text);
  font-size: 14px;
}

.app-shortcut-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-xs);
  background: var(--bg-subtle);
  color: var(--text-muted);
  font-size: 12px;
  font-family: var(--font-mono);
  font-weight: 600;
  width: fit-content;
}

body.dark .app-shortcut-pill {
  background: rgba(255, 255, 255, 0.06);
  color: #e4e4e7;
}

@media (max-width: 960px) {
  .app-showcase-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ==========================================================================
   Smooth 1.5s Theme Change Transition & Global Polish
   ========================================================================== */
html,
body, 
header,
nav,
footer,
section,
main,
aside,
article,
.surface,
.card,
.sticky-nav,
.comparison-matrix-wrapper,
.comparison-card,
.curtain-sheet-wrapper,
.landing-footer,
.btn,
.section-wrapper,
.app-preview-card,
.feature-card,
.app-sidebar,
.app-editor,
.nav-control-transparent,
input,
textarea,
select {
  transition: background-color 1.5s cubic-bezier(0.16, 1, 0.3, 1),
              color 1.5s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 1.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 1.5s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Instant hover feedback for mouse interaction */
a:hover,
button:hover,
.btn:hover,
.btn-lang:hover,
.btn-icon:hover,
.lang-toggle-btn:hover,
.theme-toggle-btn:hover,
.nav-control-transparent:hover,
.nav-link-item:hover {
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease !important;
}

.brand-img {
  height: 52px;
  max-height: 52px;
  width: auto;
  object-fit: contain;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: none !important;
  transition: transform 0.2s ease;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding-left: clamp(16px, 3vw, 48px);
  padding-right: clamp(16px, 3vw, 48px);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
}

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

/* Multi-Column Footer Grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(120, 120, 130, 0.12);
  margin-bottom: 28px;
}

body.dark .footer-grid {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
  position: relative;
  top: 1px;
}

.footer-brand-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 280px;
}

.footer-col-title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  margin-bottom: 14px;
}

.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-links a {
  font-size: 13.5px;
  color: var(--text-muted);
  transition: color 0.18s ease, transform 0.18s ease;
  width: fit-content;
}

.footer-col-links a:hover {
  color: var(--text);
  transform: translateX(3px);
}

.footer-pref-box {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-pref-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
}

.footer-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-subtle);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

/* ==========================================================================
   Rising Curtain Footer (Overlays bottom of page with rounded corners)
   ========================================================================== */
.landing-footer {
  position: relative;
  z-index: 30;
  border-top: none !important;
  border-radius: 60px 60px 0 0;
  background: var(--surface);
  margin-top: -36px;
  padding: 60px 0 44px 0;
  box-shadow: none !important;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

body.dark .landing-footer {
  background: #111116;
  box-shadow: none !important;
}

@media (max-width: 820px) {
  .landing-footer {
    border-radius: 32px 32px 0 0;
    margin-top: -24px;
    padding: 44px 0 32px 0;
  }
}

/* ==========================================================================
   Cliply Modern Tooltip System (Replaces Native Browser Tooltips)
   ========================================================================== */
.cliply-tooltip {
  position: fixed;
  z-index: 99999;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px) scale(0.96);
  transition: opacity 0.15s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.15s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.15s;
  padding: 7px 13px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  white-space: nowrap;
  border: none !important;
  background: #0c0c0f;
  color: #f4f4f6;
  box-shadow: 0 10px 28px -4px rgba(0, 0, 0, 0.25), 0 2px 8px rgba(0, 0, 0, 0.12);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  user-select: none;
  will-change: transform, opacity;
}

body.dark .cliply-tooltip {
  background: #181820;
  color: #ffffff;
  box-shadow: 0 12px 34px -4px rgba(0, 0, 0, 0.75), 0 2px 8px rgba(0, 0, 0, 0.5);
}

.cliply-tooltip.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.cliply-tooltip-kbd {
  display: inline-block;
  padding: 1.5px 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.3;
  margin-left: 5px;
  letter-spacing: 0;
  border: none !important;
}

body.dark .cliply-tooltip-kbd {
  background: rgba(255, 255, 255, 0.12);
  color: #e4e4e7;
}

/* ==========================================================================
   LANDING PAGE MOBILE OVERHAUL (max-width: 768px)
   Fluid Phone Experience, Fixed Compact Nav, Full-Height Menu & Zero Overflow
   ========================================================================== */

@media (max-width: 768px) {
  /* Prevent horizontal spillover while preserving position: sticky */
  html, body {
    overflow-x: clip !important;
    width: 100% !important;
    max-width: 100vw !important;
    position: relative !important;
  }
  body {
    padding-top: 56px !important;
  }

  .mobile-only {
    display: inline !important;
  }
  br.mobile-only {
    display: block !important;
  }
  .desktop-only {
    display: none !important;
  }

  body.mobile-menu-open {
    overflow: hidden !important;
  }

  /* Fixed Mobile Navbar: Always Visible at Top (Zero Border on Mobile) */
  .sticky-nav {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    height: 56px !important;
    z-index: 10000 !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    background: rgba(var(--bg-rgb), 0.94) !important;
    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
  .nav-wrapper {
    height: 56px !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  .brand-link {
    font-size: 17px !important;
    gap: 8px !important;
  }
  .brand-img {
    height: 28px !important;
    max-height: 28px !important;
    border-radius: 6px !important;
  }
  .nav-links {
    display: none !important;
  }
  .nav-controls {
    display: none !important;
  }
  .mobile-nav-actions {
    display: flex !important;
    align-items: center;
    gap: 8px;
  }
  .mobile-app-quickbtn {
    padding: 6px 14px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    border-radius: var(--radius-full) !important;
  }
  .mobile-menu-toggle {
    display: flex !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 50% !important;
    background: var(--surface) !important;
    border: none !important;
    outline: none !important;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 4px;
    padding: 0;
    color: var(--text);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: background 0.2s ease, transform 0.18s ease;
    z-index: 100015 !important;
    position: relative;
  }
  body.dark .mobile-menu-toggle {
    background: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  }
  .mobile-menu-toggle:active {
    transform: scale(0.92);
  }
  .hamburger-bar {
    width: 18px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.22s ease;
    transform-origin: center;
    display: block;
    pointer-events: none;
  }
  .mobile-menu-toggle.is-active .hamburger-bar:nth-child(1),
  .mobile-menu-toggle.is-active:hover .hamburger-bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg) !important;
  }
  .mobile-menu-toggle.is-active .hamburger-bar:nth-child(2),
  .mobile-menu-toggle.is-active:hover .hamburger-bar:nth-child(2) {
    opacity: 0 !important;
    transform: scaleX(0) !important;
  }
  .mobile-menu-toggle.is-active .hamburger-bar:nth-child(3),
  .mobile-menu-toggle.is-active:hover .hamburger-bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg) !important;
  }

  body.mobile-menu-open .sticky-nav {
    background: var(--bg) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    border: none !important;
    z-index: 100010 !important;
  }
  body.mobile-menu-open .mobile-app-quickbtn {
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
    display: none !important;
  }

  /* ==========================================================================
     TRUE FULLSCREEN MOBILE NAVIGATION DRAWER (Zero Scroll, Fluid 60fps, Zero Border)
     ========================================================================== */
  .mobile-nav-drawer {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    z-index: 100005 !important;
    background: var(--bg) !important;
    border-radius: 0 !important;
    border: none !important;
    border-top: none !important;
    box-shadow: none !important;
    overflow: hidden !important;
    overflow-y: hidden !important;
    overscroll-behavior: contain;
    transform: translate3d(0, -100%, 0);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    will-change: transform, opacity;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.32s ease,
                visibility 0.42s;
    padding: calc(56px + clamp(10px, 1.8vh, 16px)) 18px clamp(16px, 3vh, 26px) 18px !important;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
  }
  body.mobile-menu-open .mobile-nav-drawer {
    transform: translate3d(0, 0, 0) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }
  .mobile-menu-backdrop {
    display: none !important;
  }

  .mobile-drawer-inner {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-width: 440px;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    overflow: hidden !important;
  }

  /* Dedicated Topbar is handled by sticky-nav (No duplicate buttons or bars) */
  .mobile-drawer-topbar {
    display: none !important;
  }
  .mobile-drawer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 18px;
  }
  .mobile-drawer-brand .brand-img {
    height: 28px;
    width: auto;
  }
  .mobile-drawer-close-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--surface);
    border: none !important;
    outline: none !important;
    color: var(--text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.18s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  }
  body.dark .mobile-drawer-close-btn {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  }
  .mobile-drawer-close-btn:active {
    transform: scale(0.92);
  }

  /* 2-Column Compact Navigation Grid (Fits in 3 rows = ~135px, never overflows) */
  .mobile-drawer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(8px, 1.4vh, 11px);
    margin-bottom: clamp(10px, 1.6vh, 14px);
    flex-shrink: 0;
  }
  .mobile-grid-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: clamp(9px, 1.3vh, 12px) 12px;
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--text);
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 600;
    border: none !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
    transition: background 0.18s ease, transform 0.18s ease;
  }
  body.dark .mobile-grid-item {
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  }
  .mobile-grid-item:active {
    background: var(--bg-subtle);
    transform: scale(0.98);
  }
  .mobile-grid-icon {
    width: 28px;
    height: 28px;
    border-radius: 7px;
    background: var(--bg-subtle);
    color: var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12.5px;
    flex-shrink: 0;
  }
  body.dark .mobile-grid-icon {
    background: rgba(255, 255, 255, 0.08);
  }
  .mobile-grid-text {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Prominent yet Sleek Install Card */
  .mobile-featured-install-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: clamp(10px, 1.4vh, 13px) 14px;
    border-radius: var(--radius-sm);
    background: var(--surface);
    color: var(--text);
    text-decoration: none;
    border: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    margin-bottom: clamp(10px, 1.6vh, 14px);
    flex-shrink: 0;
    transition: background 0.18s ease, transform 0.18s ease;
  }
  body.dark .mobile-featured-install-card {
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  }
  .mobile-featured-install-card:active {
    transform: scale(0.98);
  }
  .mobile-install-card-left {
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .mobile-install-badge-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--text);
    color: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
  }
  .mobile-install-card-title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text);
    line-height: 1.2;
  }
  .mobile-install-card-sub {
    font-size: 11px;
    color: var(--text-subtle);
    margin-top: 2px;
  }
  .mobile-install-card-arrow {
    font-size: 12px;
    color: var(--text-subtle);
    opacity: 0.7;
  }

  /* Action Buttons (Side by Side 2-Column Grid) */
  .mobile-drawer-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: clamp(12px, 1.8vh, 16px);
    flex-shrink: 0;
  }
  .mobile-cta-btn {
    width: 100%;
    justify-content: center;
    padding: clamp(10px, 1.5vh, 13px) 14px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: var(--radius-sm) !important;
    gap: 8px;
  }

  /* Footer Quick Tools & Trust Badge */
  .mobile-drawer-footer {
    display: flex;
    flex-direction: column;
    gap: clamp(8px, 1.3vh, 12px);
    padding-top: 0;
    border: none !important;
    flex-shrink: 0;
    margin-top: auto;
  }
  .mobile-drawer-tools {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .mobile-tool-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: clamp(9px, 1.3vh, 11px) 12px;
    border-radius: var(--radius-sm);
    background: var(--surface);
    border: none !important;
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  }
  body.dark .mobile-tool-btn {
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  }
  .mobile-drawer-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-subtle);
    text-align: center;
  }

  .hero-wrapper-outer {
    justify-content: flex-start !important;
    padding-top: clamp(20px, 4vh, 36px) !important;
    padding-bottom: 16px !important;
  }

  /* Fixed 3-line Space for Hero Title (No Layout Shifts) */
  .hero-title {
    font-size: 25px !important;
    line-height: 1.25 !important;
    min-height: 100px !important;
    height: 100px !important;
    max-height: 100px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    margin-top: 4px !important;
    margin-bottom: 10px !important;
    overflow: hidden !important;
    padding: 0 4px !important;
  }
  .hero-desc {
    font-size: 14.5px !important;
    line-height: 1.55 !important;
    padding: 0 8px !important;
    margin-bottom: 18px !important;
  }
  .hero-ctas {
    flex-direction: column !important;
    width: 100% !important;
    max-width: 320px !important;
    margin: 0 auto 20px auto !important;
    gap: 10px !important;
  }
  .hero-ctas .btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 13px 20px !important;
    font-size: 15px !important;
  }
  .hero-ticker-container {
    width: calc(100% - 16px) !important;
    max-width: calc(100vw - 16px) !important;
    margin: 0 auto !important;
    padding: 9px 0 !important;
    border-radius: var(--radius-sm) !important;
    overflow: hidden !important;
  }

  /* Floating Cookie Banner Prompt on Screen */
  #cookie-banner {
    position: fixed !important;
    bottom: 16px !important;
    left: 14px !important;
    right: 14px !important;
    width: auto !important;
    max-width: calc(100vw - 28px) !important;
    transform: none !important;
    animation: none !important;
    z-index: 99999 !important;
    border-radius: 18px !important;
    background: var(--surface) !important;
    border: none !important;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45) !important;
    padding: 16px !important;
    flex-direction: column !important;
    gap: 14px !important;
    transition: opacity 0.25s ease, transform 0.25s ease !important;
  }
  #cookie-banner.cookie-banner-hidden,
  #cookie-banner[style*="display: none"] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
  }
  #cookie-banner .cookie-actions {
    width: 100% !important;
    display: flex !important;
    gap: 8px !important;
  }
  #cookie-banner .cookie-actions .btn {
    flex: 1 !important;
    justify-content: center !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
    -webkit-tap-highlight-color: transparent !important;
  }

  /* Section Spacing & Zero Horizontal Overflow Rules */
  .hero-wrapper-outer,
  .curtain-sheet-wrapper,
  .section-wrapper,
  .full-width-container,
  footer {
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }

  .section-wrapper {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  .section-header {
    margin-bottom: 36px !important;
    padding: 0 6px !important;
  }
  .section-title {
    font-size: clamp(23px, 6.2vw, 32px) !important;
  }
  .section-desc {
    font-size: 14.5px !important;
  }

  /* Content Cards & Grids (Spacious, Uncompressed, Min-Width 0) */
  .features-grid,
  .steps-grid,
  .comparison-cards-grid,
  .pricing-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .feature-card,
  .step-card,
  .pricing-card {
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    padding: 24px 20px !important;
  }
  .pricing-card.featured {
    transform: none !important;
    padding: 28px 22px !important;
  }

  /* Use Cases Showcase (Mobile Optimization, Balanced Typography & Zero Overflow) */
  .use-cases-tabs {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 20px !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
  .use-case-tab {
    width: 100% !important;
    max-width: 100% !important;
    justify-content: space-between !important;
    padding: 11px 14px !important;
    font-size: 13.5px !important;
    border-radius: var(--radius-md) !important;
    box-sizing: border-box !important;
  }
  .use-case-tab-badge {
    font-size: 10.5px !important;
    padding: 2px 8px !important;
  }

  .use-case-content {
    grid-template-columns: 1fr !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 12px 0 !important;
    gap: 22px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    overflow: hidden !important;
  }
  .use-case-content:not(.active) {
    display: none !important;
  }

  .use-case-info-col {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .use-case-badge-pill {
    font-size: 10px !important;
    padding: 4px 10px !important;
    letter-spacing: 0.05em !important;
    gap: 6px !important;
    width: fit-content !important;
    max-width: 100% !important;
    white-space: normal !important;
  }

  .use-case-hero-title {
    font-size: clamp(17px, 4.8vw, 21px) !important;
    line-height: 1.34 !important;
    letter-spacing: -0.02em !important;
    text-wrap: balance !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    margin: 0 !important;
  }

  .use-case-hero-desc {
    font-size: 13.5px !important;
    line-height: 1.55 !important;
    color: var(--text-muted) !important;
    text-wrap: pretty !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    margin: 0 !important;
  }

  .use-case-features-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
    min-width: 0 !important;
    margin-top: 2px !important;
  }

  .use-case-feat-item {
    display: flex !important;
    align-items: flex-start !important;
    gap: 10px !important;
    padding: 10px 10px !important;
    border-radius: var(--radius-sm) !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .use-case-feat-icon {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    max-width: 26px !important;
    border-radius: 6px !important;
    font-size: 11px !important;
    flex-shrink: 0 !important;
  }

  .use-case-feat-body {
    flex: 1 1 0% !important;
    min-width: 0 !important;
    width: 100% !important;
  }

  .use-case-feat-title {
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    margin-bottom: 2px !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  .use-case-feat-desc {
    font-size: 11.5px !important;
    line-height: 1.45 !important;
    color: var(--text-muted) !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  .use-case-stats-row {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 6px !important;
    padding-top: 14px !important;
    margin-top: 2px !important;
    border: none !important;
    border-top: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .use-case-stat {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    min-width: 0 !important;
  }

  .use-case-stat .stat-value {
    font-size: 15px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
  }

  .use-case-stat .stat-label {
    font-size: 10px !important;
    line-height: 1.2 !important;
    color: var(--text-subtle) !important;
    word-break: break-word !important;
    text-align: center !important;
  }

  .use-case-preview-col {
    width: 100% !important;
    min-width: 0 !important;
    margin-top: 4px !important;
    box-sizing: border-box !important;
  }

  .use-case-window {
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    border-radius: var(--radius-sm) !important;
    overflow: hidden !important;
  }

  .use-case-window-header {
    padding: 8px 12px !important;
    gap: 8px !important;
    box-sizing: border-box !important;
  }

  .window-title-path {
    font-size: 10.5px !important;
    max-width: 140px !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  .window-status-badge {
    font-size: 10px !important;
    padding: 2px 7px !important;
  }

  .use-case-window-body {
    padding: 10px !important;
    gap: 10px !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .use-case-block-card {
    padding: 10px 10px !important;
    width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .block-card-header {
    margin-bottom: 8px !important;
    gap: 6px !important;
    flex-wrap: wrap !important;
  }

  .block-card-tag {
    font-size: 10.5px !important;
  }

  .copy-snippet-btn {
    padding: 3px 7px !important;
    font-size: 11px !important;
  }

  .block-code-preview {
    font-size: 11px !important;
    padding: 8px !important;
    line-height: 1.4 !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: auto !important;
    white-space: pre-wrap !important;
    word-break: break-all !important;
    box-sizing: border-box !important;
  }

  .block-text-preview,
  .block-quote-preview {
    font-size: 12px !important;
    line-height: 1.45 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
  }

  .interactive-check-item {
    padding: 7px 8px !important;
    gap: 8px !important;
    font-size: 11px !important;
    word-break: break-word !important;
  }

  .check-square {
    width: 15px !important;
    height: 15px !important;
    min-width: 15px !important;
    font-size: 9px !important;
  }

  /* Sandbox Section (Hidden on Mobile per user request) */
  #sandbox {
    display: none !important;
  }

  /* Comparison Matrix Table (Horizontal Touch Scroll, No Page Blowout) */
  .comparison-matrix-wrapper {
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    border-radius: var(--radius-md) !important;
    box-sizing: border-box !important;
  }
  .comparison-matrix-table {
    min-width: 580px !important;
  }

  /* Interactive Showcase on Mobile (Compact, Breathing Side Margins, Ultra Clear & Intuitive) */
  .showcase-outer {
    width: calc(100% - 32px) !important;
    max-width: 480px !important;
    margin: 18px auto 32px auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
  }
  .demo-showcase {
    border-radius: var(--radius-md) !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.45) !important;
    border: none !important;
    background: var(--surface) !important;
  }
  .demo-window-header {
    padding: 10px 10px 6px 10px !important;
    gap: 8px !important;
    flex-direction: column !important;
    align-items: stretch !important;
    background: var(--surface) !important;
    border: none !important;
    border-bottom: none !important;
  }
  .window-dots,
  .demo-search-bar {
    display: none !important;
  }
  .demo-mobile-header-hint {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    font-size: 11px !important;
    color: var(--text-subtle) !important;
    font-weight: 600 !important;
    text-align: center !important;
    padding: 2px 0 !important;
  }
  .demo-tabs-nav {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 4px !important;
    width: 100% !important;
    padding: 3px !important;
    background: var(--bg-subtle) !important;
    border-radius: var(--radius-sm) !important;
    overflow: visible !important;
    box-sizing: border-box !important;
    border: none !important;
  }
  .demo-tab-btn {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 7px 2px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    gap: 3px !important;
    border-radius: 6px !important;
    white-space: nowrap !important;
    min-width: 0 !important;
    text-align: center !important;
    box-sizing: border-box !important;
    color: var(--text-muted) !important;
    background: transparent !important;
    border: none !important;
  }
  .demo-tab-btn i {
    font-size: 13px !important;
  }
  .demo-tab-btn.active {
    background: var(--primary) !important;
    color: var(--primary-text) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
  }
  .demo-body {
    padding: 8px 12px 14px 12px !important;
    height: 530px !important;
    min-height: 530px !important;
    max-height: 530px !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    box-sizing: border-box !important;
    position: relative !important;
  }
  .demo-body::-webkit-scrollbar {
    display: none !important;
  }

  @keyframes mobilePanelEnter {
    0% {
      opacity: 0;
      transform: translateY(6px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .demo-panel {
    position: static !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    height: auto !important;
    inset: auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .demo-panel.demo-panel-enter {
    animation: mobilePanelEnter 0.22s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
  }
  .demo-panel[style*="display: none"] {
    display: none !important;
  }
  .demo-panel-card {
    padding: 14px 12px !important;
    border-radius: var(--radius-sm) !important;
    background: var(--bg-subtle) !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    border: none !important;
  }
  .demo-panel-card .fa-grip-vertical {
    display: none !important;
  }
  .demo-panel-card .copy-snippet-btn {
    width: 100% !important;
    justify-content: center !important;
    align-self: stretch !important;
    padding: 8px 12px !important;
    font-size: 12.5px !important;
    margin-top: 4px !important;
  }
  .demo-panel-card p {
    font-size: 13px !important;
    line-height: 1.55 !important;
  }
  pre, code {
    max-width: 100% !important;
    min-width: 0 !important;
    white-space: pre-wrap !important;
    word-break: break-all !important;
    box-sizing: border-box !important;
  }

  /* Footer */
  .landing-footer {
    padding: 44px 16px 32px 16px !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
  .footer-bottom-bar {
    flex-direction: column !important;
    gap: 14px !important;
    text-align: center !important;
  }
}

/* ==========================================================================
   DESKTOP SAFETY RULE (min-width: 769px)
   Guarantee zero mobile elements or styles leak onto PC
   ========================================================================== */
@media (min-width: 769px) {
  .mobile-nav-actions,
  .mobile-menu-toggle,
  .mobile-nav-drawer,
  .mobile-only {
    display: none !important;
  }
  .desktop-only {
    display: inline !important;
  }
}

/* ==========================================================================
   STRICT ZERO HOVER & ZERO TOOLTIP ON MOBILE / TOUCH DEVICES
   Completely neutralizes sticky hover and eliminates tooltip popups on phones
   ========================================================================== */
@media (max-width: 768px), (hover: none), (pointer: coarse) {
  *,
  *::before,
  *::after {
    -webkit-tap-highlight-color: transparent !important;
  }

  /* Completely eliminate tooltips and popover hints on mobile */
  .cliply-tooltip,
  #cliply-tooltip,
  [role="tooltip"] {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  /* Reset all transforms and sticky hover shadows on mobile, but strictly preserve animated hamburger bars */
  *:not(.hamburger-bar):not(.mobile-menu-toggle):hover {
    transform: none !important;
  }

  /* Neutralize button and link sticky hovers on phone */
  .btn:hover,
  .btn-primary:hover,
  .btn-outline:hover,
  .btn-ghost:hover,
  .btn-lang:hover,
  .btn-icon:hover,
  .lang-toggle-btn:hover,
  .theme-toggle-btn:hover,
  .nav-control-transparent:hover,
  .nav-link-item:hover,
  .brand-link:hover,
  .use-case-tab:hover,
  .use-case-feat-item:hover,
  .use-case-block-card:hover,
  .pricing-card:hover,
  .pricing-card.featured:hover,
  .faq-item:hover,
  .faq-toggle:hover,
  .demo-tab-btn:hover,
  .demo-search-bar:hover,
  .demo-panel-card:hover,
  .interactive-check-item:hover,
  .comparison-card:hover,
  .footer-col-links a:hover,
  .mobile-tool-btn:hover {
    transform: none !important;
    box-shadow: none !important;
    filter: none !important;
    outline: none !important;
  }

  /* Prevent persistent focus outlines on mobile taps */
  button:focus:not(:focus-visible),
  a:focus:not(:focus-visible) {
    outline: none !important;
    box-shadow: none !important;
  }
}
