/* Custom CSS compiled by Cohsar CSS Manager (Global) */

/* === home page css === */
body.page-id-22,
.page-id-22 #main-container,
.page-id-22 .site-main,
.page-id-22 #wrap,
.page-id-22 .ct-container,
.page-id-22 .ct-container-fluid,
.page-id-22 .entry-content,
.page-id-22 article#post-22 {
  background-color: #ffffff !important;
  color: #0f172a !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100% !important;
  border: none !important;
}

.page-id-22 .entry-header,
.page-id-22 .hero-section,
.page-id-22 .ct-page-title {
  display: none !important;
}

.sq-root {
  font-family: \'Plus Jakarta Sans\', -apple-system, BlinkMacSystemFont, \'Segoe UI\', Roboto, sans-serif;
  color: #334155;
  background-color: #ffffff;
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 20px 80px 20px;
  line-height: 1.6;
  box-sizing: border-box;
}

.sq-root *, .sq-root *::before, .sq-root *::after {
  box-sizing: border-box;
}

.sq-root br {
  display: none !important;
}

.sq-root p:empty,
.sq-v1-cta-row br,
.sq-v1-cta-row p:empty,
.sq-screenshots-grid > p,
.sq-v3-cards-row > p,
.sq-v5-grid > p {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.sq-v1-cta-row p {
  display: contents !important;
  margin: 0 !important;
}

.sq-section-spacer {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.sq-section-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(226,232,240,0) 0%, #cbd5e1 30%, #94a3b8 50%, #cbd5e1 70%, rgba(226,232,240,0) 100%);
  position: relative;
}

.sq-section-beacon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #ffffff;
  border: 1px solid #cbd5e1;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  padding: 5px 16px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  color: #475569;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.sq-beacon-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2563eb;
}

.sq-v1-hero {
  min-height: calc(100vh - 100px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle at 50% 25%, rgba(37, 99, 235, 0.05) 0%, rgba(255, 255, 255, 0) 70%), #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 28px;
  padding: 40px 24px;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 20px -5px rgba(15, 23, 42, 0.05);
}

.sq-v1-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.sq-v1-h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
  font-weight: 900;
  line-height: 1.14;
  margin: 0 0 16px 0;
  color: #0f172a;
  letter-spacing: -0.03em;
  max-width: 900px;
}

.sq-gradient-word {
  color: #2563eb;
  display: inline;
}

.saliqa-hero-badges {
  margin: 14px auto 26px;
  max-width: 920px;
  width: 100%;
}

.saliqa-hero-lead {
  font-size: 14.5px;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.saliqa-lead-tag {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #bfdbfe;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
}

.saliqa-badges-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.saliqa-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 700;
  color: #0f172a !important;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  cursor: pointer;
  text-decoration: none;
}

.saliqa-badge-pill:hover {
  transform: translateY(-2px);
  border-color: #2563eb !important;
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.12);
  color: #1e40af !important;
}

.saliqa-badge-pill .pill-sub {
  font-size: 11.5px;
  font-weight: 500;
  color: #64748b !important;
  padding-left: 6px;
  border-left: 1px solid #e2e8f0;
}

.sq-v1-cta-row {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.sq-btn-play {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1.5px solid #0f172a !important;
  border-radius: 14px;
  padding: 10px 26px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  transition: all 0.2s ease;
}

.sq-btn-play:hover {
  transform: translateY(-2px);
  background: #f8fafc !important;
  border-color: #2563eb !important;
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.18);
}

.sq-btn-play svg {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.sq-play-col {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.sq-play-sub {
  font-size: 10px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  color: #475569 !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
}

.sq-play-main {
  font-size: 18px !important;
  font-weight: 900 !important;
  color: #0f172a !important;
  line-height: 1.2 !important;
}

.sq-btn-web {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 14px;
  padding: 13px 26px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
  transition: all 0.2s ease;
}

.sq-btn-web:hover {
  transform: translateY(-2px);
  border-color: #2563eb !important;
  color: #2563eb !important;
  background: #eff6ff !important;
}

.sq-trust-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
}

.sq-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sq-trust-dot {
  color: #cbd5e1;
}

.sq-v2-section {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 28px;
  padding: 64px 32px;
  text-align: center;
  box-shadow: 0 4px 20px -5px rgba(15, 23, 42, 0.04);
}

.sq-section-badge {
  color: #2563eb;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
  display: inline-block;
}

.sq-section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 900;
  color: #0f172a;
  margin: 0 0 10px 0;
  letter-spacing: -0.025em;
}

.sq-section-desc {
  color: #64748b;
  font-size: 15.5px;
  max-width: 620px;
  margin: 0 auto 40px auto;
}

.sq-screenshots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .sq-screenshots-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .sq-screenshots-grid {
    grid-template-columns: 1fr;
  }
}

.sq-phone-frame {
  background: #080c14;
  border: 3px solid #334155;
  border-radius: 30px;
  padding: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  min-height: 420px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.sq-phone-frame:hover {
  transform: translateY(-6px);
  border-color: #2563eb;
  box-shadow: 0 25px 50px rgba(37, 99, 235, 0.2);
}

.sq-phone-screen {
  background: #0f172a;
  border-radius: 22px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 12px;
  text-align: left;
}

.sq-phone-notch {
  width: 44px;
  height: 10px;
  background: #000;
  border-radius: 6px;
  margin: 0 auto 8px;
}

.sq-phone-statusbar {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: #64748b;
  margin-bottom: 12px;
  font-weight: 600;
  padding: 0 4px;
}

.sq-phone-app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 12px;
}

.sq-mock-ui-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 10px;
  margin-bottom: 10px;
}

.sq-mock-badge {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  margin-bottom: 4px;
}

.sq-mock-title {
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.sq-mock-text {
  font-size: 10px;
  color: #94a3b8;
}

.sq-check-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  color: #cbd5e1;
  margin-top: 4px;
}

.sq-check-box {
  width: 12px;
  height: 12px;
  background: #10b981;
  border-radius: 3px;
  display: grid;
  place-items: center;
  font-size: 8px;
  color: white;
}

.sq-heatmap-row {
  display: flex;
  gap: 4px;
  margin-top: 6px;
}

.sq-heat-dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: #1e293b;
}
.sq-heat-dot.act-1 { background: #d97706; opacity: 0.4; }
.sq-heat-dot.act-2 { background: #f59e0b; opacity: 0.7; }
.sq-heat-dot.act-3 { background: #fbbf24; }

.sq-v3-section {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.06) 0%, #ffffff 60%);
  border: 1.5px solid #a7f3d0;
  border-radius: 28px;
  padding: 56px 36px;
  box-shadow: 0 4px 20px -5px rgba(16, 185, 129, 0.08);
}

.sq-v3-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid #e2e8f0;
}

.sq-v3-banner-text {
  max-width: 680px;
}

.sq-v3-h2 {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 10px 0;
  letter-spacing: -0.02em;
}

.sq-v3-lead {
  color: #475569;
  font-size: 15.5px;
  line-height: 1.6;
  margin: 0;
}

.sq-v3-badge {
  background: #ecfdf5;
  border: 1.5px solid #10b981;
  border-radius: 18px;
  padding: 16px 28px;
  text-align: center;
}

.sq-v3-badge-big {
  font-size: 32px;
  font-weight: 900;
  color: #059669;
  line-height: 1;
  margin-bottom: 4px;
}

.sq-v3-badge-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #065f46;
}

.sq-v3-cards-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.sq-v3-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.sq-v3-card:hover {
  transform: translateY(-3px);
  border-color: #10b981;
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.12);
}

.sq-v3-card-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.sq-v3-card-title {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px 0;
}

.sq-v3-card-desc {
  color: #64748b;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.sq-v5-section {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 28px;
  padding: 64px 32px;
  box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.04);
}

.sq-v5-header {
  text-align: center;
  margin-bottom: 40px;
}

.sq-v5-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.sq-feature-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.sq-feature-card:hover {
  transform: translateY(-3px);
  border-color: #2563eb;
  background: #ffffff;
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.12);
}

.sq-feature-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 22px;
  flex-shrink: 0;
}

.sq-feature-body {
  flex: 1;
}

.sq-feature-title {
  font-size: 16.5px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 6px 0;
}

.sq-feature-desc {
  color: #64748b;
  font-size: 13.5px;
  line-height: 1.55;
  margin: 0;
}

@media (max-width: 768px) {
  .sq-v1-hero {
    min-height: auto;
    padding: 48px 16px;
  }
  .sq-section-spacer {
    height: 60px;
  }
  .sq-v2-section, .sq-v3-section, .sq-v5-section {
    padding: 40px 18px;
  }
  .sq-v1-h1 {
    font-size: 28px;
  }
  .sq-btn-play,
  .sq-btn-web {
    width: 100%;
    justify-content: center;
  }
}

/* === css other than home page === */
/* Saliqa.in - Global Theme Styles (Firewall Safe) */

/* 1. Blocksy Offcanvas Drawer Fix */
@media (min-width: 1000px) {
  #offcanvas,
  .ct-panel.ct-header {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
  }
}

#offcanvas,
.ct-panel,
.ct-panel-inner,
.ct-drawer-canvas {
  background-color: #080b12 !important;
  background: #080b12 !important;
  color: #e8ecf3 !important;
  border-color: rgba(148, 163, 184, 0.14) !important;
}

/* 2. Global Header Menu Links */
#header-menu-1 .ct-menu-link,
.header-menu-1 .ct-menu-link {
  font-weight: 600 !important;
  font-size: 15px !important;
  letter-spacing: -0.01em !important;
}

/* 3. Global Footer Cleanup */
#footer.ct-footer,
.ct-footer {
  display: none !important;
}

.saliqa-site-footer {
  margin-top: 16px !important;
}

.saliqa-site-footer a:hover {
  color: #ffffff !important;
  text-decoration: underline !important;
}

/* === features page css === */
/* ==========================================================================
   COHSAR CSS MANAGER — APP FEATURES (PAGE 24) DOODLE SHOWCASE
   Paste into: Appearance -> Cohsar CSS (themes.php?page=cohsar-css-manager)
   Block Label: Saliqa App Features (Page 24) - Doodle Style
   Condition / Page Class: page:24 (or leave blank for Global bundle)
   ========================================================================== */

@import url(\'https://fonts.googleapis.com/css2?family=Architects+Daughter&family=Caveat:wght@600;700&family=Fredoka:wght@600;700&family=Instrument+Serif:ital@0;1&family=JetBrains+Mono:wght@600;700&family=Kalam:wght@700&family=Patrick+Hand&family=Playfair+Display:ital,wght@0,700;1,700&family=Plus+Jakarta+Sans:wght@500;600;700;800;900&family=Space+Grotesk:wght@600;700;800&family=Syne:wght@700;800;900&display=swap\');

/* 1. Page Canvas Normalization for Page 24 */
body.page-id-24,
.page-id-24 #main-container,
.page-id-24 .site-main,
.page-id-24 #wrap,
.page-id-24 .ct-container,
.page-id-24 .ct-container-fluid,
.page-id-24 .entry-content,
.page-id-24 article#post-24 {
  background-color: #ffffff !important;
  color: #111827 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  max-width: 100% !important;
  border: none !important;
}

/* Hide default Blocksy hero header & page title on Page 24 */
.page-id-24 .entry-header,
.page-id-24 .hero-section[data-type="type-1"],
.page-id-24 .hero-section,
.page-id-24 .ct-page-title {
  display: none !important;
}

/* 2. Doodle Design System Tokens */
#sq-wp-doodle-all-modules {
  --font-caveat: \'Caveat\', cursive;
  --font-kalam: \'Kalam\', cursive;
  --font-sketch: \'Architects Daughter\', cursive;
  --font-patrick: \'Patrick Hand\', cursive;
  --font-sans: \'Plus Jakarta Sans\', -apple-system, sans-serif;
  --font-serif: \'Instrument Serif\', Georgia, serif;
  --font-playfair: \'Playfair Display\', Georgia, serif;
  --font-syne: \'Syne\', sans-serif;
  --font-space: \'Space Grotesk\', sans-serif;
  --font-mono: \'JetBrains Mono\', monospace;
  --font-bubble: \'Fredoka\', cursive;

  width: 100%;
  background: #ffffff;
  color: #111827;
  position: relative;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  font-family: var(--font-sans);
}

#sq-wp-doodle-all-modules *,
#sq-wp-doodle-all-modules *::before,
#sq-wp-doodle-all-modules *::after {
  box-sizing: border-box;
}

/* Neutralize rogue WordPress wpautop tags */
#sq-wp-doodle-all-modules p:empty,
#sq-wp-doodle-all-modules br {
  display: none !important;
}

#sq-wp-doodle-all-modules p {
  margin: 0 !important;
}

/* 3. Sticky Quick Jump Navigation */
#sq-wp-doodle-all-modules .sq-sticky-nav-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

#sq-wp-doodle-all-modules .sq-nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 800;
  color: #111827;
  white-space: nowrap;
}

#sq-wp-doodle-all-modules .sq-brand-badge {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.7);
}

#sq-wp-doodle-all-modules .sq-module-scroll-links {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px 4px;
}
#sq-wp-doodle-all-modules .sq-module-scroll-links::-webkit-scrollbar { display: none; }

#sq-wp-doodle-all-modules .sq-nav-link {
  white-space: nowrap;
  padding: 5px 12px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none !important;
  color: #4b5563 !important;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  transition: all 0.2s ease;
}
#sq-wp-doodle-all-modules .sq-nav-link:hover {
  background: #111827 !important;
  color: #ffffff !important;
  border-color: #111827 !important;
}

/* 4. Hero Cover Banner */
#sq-wp-doodle-all-modules .sq-hero-cover {
  text-align: center;
  padding: 64px 20px 52px 20px;
  background: linear-gradient(180deg, #fefce8 0%, #ffffff 100%);
  border-bottom: 1px dashed #e5e7eb;
  position: relative;
}

#sq-wp-doodle-all-modules .sq-hero-lead-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sketch);
  font-size: 15px;
  font-weight: 700;
  color: #b45309;
  background: #fef3c7;
  padding: 5px 16px;
  border-radius: 999px;
  border: 1.5px dashed #f59e0b;
  margin-bottom: 20px;
  transform: rotate(-1deg);
}

#sq-wp-doodle-all-modules .sq-hero-h1 {
  font-family: var(--font-caveat);
  font-size: clamp(3.2rem, 6.5vw, 5.8rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 auto 16px auto;
  max-width: 900px;
  color: #111827;
}

/* BULLETPROOF HERO MARKER (Direct background, immune to stacking bugs) */
#sq-wp-doodle-all-modules .sq-hero-marker {
  position: relative;
  display: inline-block;
  background: #facc15;
  color: #111827 !important;
  padding: 2px 18px;
  margin: 2px 4px;
  border-radius: 12px 38px 14px 30px / 30px 14px 34px 12px;
  transform: rotate(-1.5deg) skewX(-2deg);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

#sq-wp-doodle-all-modules .sq-hero-sub {
  font-family: var(--font-kalam);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  color: #4b5563;
  max-width: 720px;
  margin: 0 auto;
}

/* 5. Common Module Section Layout */
#sq-wp-doodle-all-modules .sq-module-section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 68px 24px;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.1);
  position: relative;
}

#sq-wp-doodle-all-modules .sq-module-header {
  text-align: center;
  margin-bottom: 38px;
  position: relative;
}

#sq-wp-doodle-all-modules .sq-header-topline {
  margin-bottom: 10px;
}

#sq-wp-doodle-all-modules .sq-module-tag {
  font-family: var(--font-sans);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: 999px;
}

/* NON-COLLIDING TITLE & DOODLE ROW */
#sq-wp-doodle-all-modules .sq-title-row {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin: 0 auto 12px auto;
  max-width: 100%;
}

#sq-wp-doodle-all-modules .sq-module-title {
  margin: 0;
  line-height: 1.05;
  position: relative;
  display: inline-block;
}

/* BULLETPROOF TITLE MARKER HIGHLIGHT */
#sq-wp-doodle-all-modules .sq-title-highlight {
  position: relative;
  display: inline-block;
  padding: 4px 22px;
  border-radius: 14px 40px 16px 32px / 32px 16px 36px 14px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

/* DOODLE CALLOUT (Positioned beside title on desktop, wrapped on mobile) */
#sq-wp-doodle-all-modules .sq-doodle-callout {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: absolute;
  left: calc(100% + 16px);
  top: 50%;
  transform: translateY(-50%) rotate(2.5deg);
  white-space: nowrap;
  pointer-events: none;
  z-index: 10;
}

#sq-wp-doodle-all-modules .sq-doodle-arrow {
  width: 50px;
  height: 34px;
  fill: none;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

#sq-wp-doodle-all-modules .sq-doodle-note {
  font-family: var(--font-caveat);
  font-size: 23px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

#sq-wp-doodle-all-modules .sq-module-desc {
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  font-weight: 600;
  color: #4b5563;
  margin: 0 auto;
  max-width: 680px;
}

/* 6. Feature Cards Grid */
#sq-wp-doodle-all-modules .sq-feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 22px 18px;
  margin-top: 36px;
}

#sq-wp-doodle-all-modules .sq-doodle-card {
  background: #ffffff;
  border: 1.5px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.02);
}
#sq-wp-doodle-all-modules .sq-doodle-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

/* ISOLATED STACKING CONTEXT FOR WORD HIGHLIGHTERS */
#sq-wp-doodle-all-modules .sq-doodle-word {
  font-size: clamp(1.22rem, 1.6vw, 1.48rem);
  line-height: 1.15;
  font-weight: 700;
  margin-bottom: 6px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  isolation: isolate; /* CRITICAL: Prevents highlighter slipping under card */
}

#sq-wp-doodle-all-modules .sq-doodle-word > span:not(.sq-marker-box),
#sq-wp-doodle-all-modules .sq-doodle-word > svg {
  position: relative;
  z-index: 2;
}

#sq-wp-doodle-all-modules .sq-marker-box {
  position: absolute;
  inset: -2px -6px -2px -6px;
  border-radius: 6px 18px 5px 14px / 14px 6px 16px 5px;
  z-index: 1;
  pointer-events: none;
}

#sq-wp-doodle-all-modules .sq-curved-underline {
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 8px;
  overflow: visible;
  pointer-events: none;
  z-index: 2;
}

#sq-wp-doodle-all-modules .sq-loop-circle {
  position: absolute;
  inset: -6px -10px -4px -10px;
  width: calc(100% + 20px);
  height: calc(100% + 10px);
  pointer-events: none;
  overflow: visible;
  z-index: 2;
}

#sq-wp-doodle-all-modules .sq-doodle-detail {
  font-family: var(--font-sans);
  font-size: 12.5px;
  color: #6b7280;
  line-height: 1.35;
}

/* ==========================================================================
   MODULE-SPECIFIC COLOR PALETTES & MARKER THEMES
   ========================================================================== */

/* 01. Notes & Docs */
#sq-wp-doodle-all-modules .sq-mod-notes { background: #ffffff; }
#sq-wp-doodle-all-modules .sq-mod-notes .sq-module-tag { background: #fef9c3; color: #854d0e; border: 1px solid #fef08a; }
#sq-wp-doodle-all-modules .sq-mod-notes .sq-module-title { font-family: var(--font-caveat); font-size: clamp(3.8rem, 6vw, 5.5rem); }
#sq-wp-doodle-all-modules .sq-mod-notes .sq-title-highlight { background: #fde047; color: #18181b; transform: rotate(-1.2deg); }
#sq-wp-doodle-all-modules .sq-mod-notes .sq-module-desc { font-family: var(--font-kalam); }
#sq-wp-doodle-all-modules .sq-mod-notes .sq-doodle-note { color: #6b21a8; }
#sq-wp-doodle-all-modules .sq-mod-notes .sq-doodle-arrow { stroke: #6b21a8; }

/* 02. Tasks & Goals */
#sq-wp-doodle-all-modules .sq-mod-tasks { background: #f0fdf4; }
#sq-wp-doodle-all-modules .sq-mod-tasks .sq-module-tag { background: #dcfce7; color: #15803d; border: 1px solid #bbf7d0; }
#sq-wp-doodle-all-modules .sq-mod-tasks .sq-module-title { font-family: var(--font-space); font-size: clamp(3.2rem, 5.5vw, 4.8rem); font-weight: 800; letter-spacing: -0.03em; }
#sq-wp-doodle-all-modules .sq-mod-tasks .sq-title-highlight { background: #a7f3d0; color: #064e3b; transform: rotate(1deg); }
#sq-wp-doodle-all-modules .sq-mod-tasks .sq-module-desc { font-family: var(--font-patrick); font-size: 1.45rem; }
#sq-wp-doodle-all-modules .sq-mod-tasks .sq-doodle-note { color: #e11d48; }
#sq-wp-doodle-all-modules .sq-mod-tasks .sq-doodle-arrow { stroke: #e11d48; }

/* 03. Habit Streaks */
#sq-wp-doodle-all-modules .sq-mod-habits { background: #fff7ed; }
#sq-wp-doodle-all-modules .sq-mod-habits .sq-module-tag { background: #ffedd5; color: #c2410c; border: 1px solid #fed7aa; }
#sq-wp-doodle-all-modules .sq-mod-habits .sq-module-title { font-family: var(--font-kalam); font-size: clamp(3.2rem, 5.5vw, 4.8rem); }
#sq-wp-doodle-all-modules .sq-mod-habits .sq-title-highlight { background: #fed7aa; color: #7c2d12; transform: rotate(-1.2deg); }
#sq-wp-doodle-all-modules .sq-mod-habits .sq-module-desc { font-family: var(--font-kalam); font-size: 1.35rem; }
#sq-wp-doodle-all-modules .sq-mod-habits .sq-doodle-note { color: #ea580c; }
#sq-wp-doodle-all-modules .sq-mod-habits .sq-doodle-arrow { stroke: #ea580c; }

/* 04. Money Manager */
#sq-wp-doodle-all-modules .sq-mod-money { background: #f0fdfa; }
#sq-wp-doodle-all-modules .sq-mod-money .sq-module-tag { background: #ccfbf1; color: #0f766e; border: 1px solid #99f6e4; }
#sq-wp-doodle-all-modules .sq-mod-money .sq-module-title { font-family: var(--font-syne); font-size: clamp(3.2rem, 5.5vw, 4.8rem); font-weight: 900; letter-spacing: -0.04em; }
#sq-wp-doodle-all-modules .sq-mod-money .sq-title-highlight { background: #99f6e4; color: #134e4a; transform: rotate(1deg); }
#sq-wp-doodle-all-modules .sq-mod-money .sq-module-desc { font-family: var(--font-caveat); font-size: 1.55rem; font-weight: 700; }
#sq-wp-doodle-all-modules .sq-mod-money .sq-doodle-note { color: #1d4ed8; }
#sq-wp-doodle-all-modules .sq-mod-money .sq-doodle-arrow { stroke: #1d4ed8; }

/* 05. Alarms & Timers */
#sq-wp-doodle-all-modules .sq-mod-alarms { background: #fdf2f8; }
#sq-wp-doodle-all-modules .sq-mod-alarms .sq-module-tag { background: #fce7f3; color: #be185d; border: 1px solid #fbcfe8; }
#sq-wp-doodle-all-modules .sq-mod-alarms .sq-module-title { font-family: var(--font-sketch); font-size: clamp(3.2rem, 5.5vw, 4.8rem); }
#sq-wp-doodle-all-modules .sq-mod-alarms .sq-title-highlight { background: #fbcfe8; color: #831843; transform: rotate(-1.5deg); }
#sq-wp-doodle-all-modules .sq-mod-alarms .sq-module-desc { font-family: var(--font-patrick); font-size: 1.4rem; }
#sq-wp-doodle-all-modules .sq-mod-alarms .sq-doodle-note { color: #9333ea; }
#sq-wp-doodle-all-modules .sq-mod-alarms .sq-doodle-arrow { stroke: #9333ea; }

/* 06. Life Records */
#sq-wp-doodle-all-modules .sq-mod-vitals { background: #faf5ff; }
#sq-wp-doodle-all-modules .sq-mod-vitals .sq-module-tag { background: #f3e8ff; color: #7e22ce; border: 1px solid #e9d5ff; }
#sq-wp-doodle-all-modules .sq-mod-vitals .sq-module-title { font-family: var(--font-playfair); font-size: clamp(3.2rem, 5.5vw, 4.8rem); font-style: italic; }
#sq-wp-doodle-all-modules .sq-mod-vitals .sq-title-highlight { background: #ddd6fe; color: #581c87; transform: rotate(1deg); }
#sq-wp-doodle-all-modules .sq-mod-vitals .sq-module-desc { font-family: var(--font-caveat); font-size: 1.55rem; }
#sq-wp-doodle-all-modules .sq-mod-vitals .sq-doodle-note { color: #0d9488; }
#sq-wp-doodle-all-modules .sq-mod-vitals .sq-doodle-arrow { stroke: #0d9488; }

/* 07. Sketch & Canvas */
#sq-wp-doodle-all-modules .sq-mod-sketch { background: #fff1f2; }
#sq-wp-doodle-all-modules .sq-mod-sketch .sq-module-tag { background: #ffe4e6; color: #be123c; border: 1px solid #fecdd3; }
#sq-wp-doodle-all-modules .sq-mod-sketch .sq-module-title { font-family: var(--font-caveat); font-size: clamp(3.8rem, 6vw, 5.5rem); }
#sq-wp-doodle-all-modules .sq-mod-sketch .sq-title-highlight { background: #fecdd3; color: #9f1239; transform: rotate(-1.5deg); }
#sq-wp-doodle-all-modules .sq-mod-sketch .sq-module-desc { font-family: var(--font-kalam); font-size: 1.35rem; }
#sq-wp-doodle-all-modules .sq-mod-sketch .sq-doodle-note { color: #0284c7; }
#sq-wp-doodle-all-modules .sq-mod-sketch .sq-doodle-arrow { stroke: #0284c7; }

/* 08. Daily Planner */
#sq-wp-doodle-all-modules .sq-mod-planner { background: #f0f9ff; }
#sq-wp-doodle-all-modules .sq-mod-planner .sq-module-tag { background: #e0f2fe; color: #0369a1; border: 1px solid #bae6fd; }
#sq-wp-doodle-all-modules .sq-mod-planner .sq-module-title { font-family: var(--font-sans); font-size: clamp(3.2rem, 5.5vw, 4.8rem); font-weight: 900; letter-spacing: -0.03em; }
#sq-wp-doodle-all-modules .sq-mod-planner .sq-title-highlight { background: #bae6fd; color: #0c4a6e; transform: rotate(1.2deg); }
#sq-wp-doodle-all-modules .sq-mod-planner .sq-module-desc { font-family: var(--font-sketch); font-size: 1.35rem; }
#sq-wp-doodle-all-modules .sq-mod-planner .sq-doodle-note { color: #d97706; }
#sq-wp-doodle-all-modules .sq-mod-planner .sq-doodle-arrow { stroke: #d97706; }

/* 09. Local-First Privacy */
#sq-wp-doodle-all-modules .sq-mod-privacy { background: #f8fafc; }
#sq-wp-doodle-all-modules .sq-mod-privacy .sq-module-tag { background: #f1f5f9; color: #334155; border: 1px solid #e2e8f0; }
#sq-wp-doodle-all-modules .sq-mod-privacy .sq-module-title { font-family: var(--font-mono); font-size: clamp(3.0rem, 5vw, 4.4rem); font-weight: 800; letter-spacing: -0.04em; }
#sq-wp-doodle-all-modules .sq-mod-privacy .sq-title-highlight { background: #e2e8f0; color: #0f172a; transform: rotate(-1deg); }
#sq-wp-doodle-all-modules .sq-mod-privacy .sq-module-desc { font-family: var(--font-sans); font-size: 1.15rem; font-weight: 600; }
#sq-wp-doodle-all-modules .sq-mod-privacy .sq-doodle-note { color: #059669; }
#sq-wp-doodle-all-modules .sq-mod-privacy .sq-doodle-arrow { stroke: #059669; }

/* 10. Free & Zero Ads */
#sq-wp-doodle-all-modules .sq-mod-free { background: #fffbeb; }
#sq-wp-doodle-all-modules .sq-mod-free .sq-module-tag { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
#sq-wp-doodle-all-modules .sq-mod-free .sq-module-title { font-family: var(--font-bubble); font-size: clamp(3.2rem, 5.5vw, 4.8rem); font-weight: 700; }
#sq-wp-doodle-all-modules .sq-mod-free .sq-title-highlight { background: #fef08a; color: #78350f; transform: rotate(-1.5deg); }
#sq-wp-doodle-all-modules .sq-mod-free .sq-module-desc { font-family: var(--font-caveat); font-size: 1.6rem; font-weight: 700; }
#sq-wp-doodle-all-modules .sq-mod-free .sq-doodle-note { color: #dc2626; }
#sq-wp-doodle-all-modules .sq-mod-free .sq-doodle-arrow { stroke: #dc2626; }

/* Footer */
#sq-wp-doodle-all-modules .sq-final-footer {
  background: #111827;
  color: #ffffff;
  padding: 64px 20px;
  text-align: center;
}
#sq-wp-doodle-all-modules .sq-footer-h2 {
  font-family: var(--font-caveat);
  font-size: clamp(3.2rem, 5.5vw, 4.8rem);
  font-weight: 700;
  color: #fde047;
  margin: 0 0 12px 0;
}
#sq-wp-doodle-all-modules .sq-footer-p {
  font-family: var(--font-sans);
  font-size: 16px;
  color: #9ca3af;
  max-width: 580px;
  margin: 0 auto 32px auto;
}
#sq-wp-doodle-all-modules .sq-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  color: #111827;
  padding: 12px 28px;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
}
#sq-wp-doodle-all-modules .sq-play-btn:hover {
  background: #fde047 !important;
  transform: translateY(-2px);
}

/* Toast */
#sq-wp-doodle-all-modules .sq-interactive-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #18181b;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 20px;
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}
#sq-wp-doodle-all-modules .sq-interactive-toast.is-active {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* RESPONSIVE COLLISION-PREVENTION RULES */
@media (max-width: 1080px) {
  #sq-wp-doodle-all-modules .sq-title-row {
    flex-direction: column;
    gap: 6px;
  }
  #sq-wp-doodle-all-modules .sq-doodle-callout {
    position: static;
    transform: rotate(1.5deg);
    margin: 4px auto 8px auto;
    justify-content: center;
  }
}

@media (max-width: 900px) {
  #sq-wp-doodle-all-modules .sq-module-section { padding: 48px 16px; }
  #sq-wp-doodle-all-modules .sq-feature-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px 14px;
  }
}

@media (max-width: 600px) {
  #sq-wp-doodle-all-modules .sq-hero-cover { padding: 44px 16px 36px 16px; }
  #sq-wp-doodle-all-modules .sq-feature-grid {
    grid-template-columns: 1fr;
  }
}

