/* Sirf app mode mein chalta hai, browser par koi asar nahi */
html.app-mode .hero-section,
html.app-mode .blog-section,
html.app-mode .why-section,
html.app-mode .seo-content-section,
html.app-mode footer { display: none !important; }

html.app-mode body { padding-bottom: env(safe-area-inset-bottom, 0px); }
html.app-mode main { min-height: 100vh; }

/* AI card + tools upar aa jayein, compact spacing */
html.app-mode .tools-section { padding-top: 12px !important; }
html.app-mode .ai-card { margin-bottom: 12px; }
html.app-mode .tool-item { margin-bottom: 10px; }
html.app-mode .tool-card { padding: 14px 10px; border-radius: 14px; text-align: center; }
html.app-mode .tool-title { font-size: 14px; }
html.app-mode .tool-desc { display: none !important; }

/* AI promo card app mode mein nahi dikhana */
html.app-mode .ai-card { display: none !important; }

/* AI section (label + card) aur trust bar app mode mein hidden */
html.app-mode .ai-section,
html.app-mode .trust-bar { display: none !important; }

/* Blog app mode mein menu se hidden */
html.app-mode a[href^="/blog"],
html.app-mode li:has(> a[href^="/blog"]) { display: none !important; }

/* Tool pages: lamba SEO text, related aur FAQ sections app mode mein hidden */
html.app-mode .seo-section,
html.app-mode .seo-section ~ section { display: none !important; }

/* Lamba h1 chhota */
html.app-mode main h1 { font-size: 1.25rem !important; margin-bottom: 8px !important; line-height: 1.3; }

html.app-mode #faqSection { display: none !important; }

/* Cookie banner: app mode mein compact (consent ka kaam waise hi chalta hai) */
html.app-mode #premiumConsent { padding: 8px 0 !important; }
html.app-mode #premiumConsent .consent-container {
  display: flex !important; flex-direction: column !important; gap: 8px !important; padding: 0 12px !important;
}
html.app-mode #premiumConsent .consent-header { margin-bottom: 2px !important; font-size: 14px !important; }
html.app-mode #premiumConsent .consent-text-area p {
  font-size: 12px !important; line-height: 1.35 !important; margin: 0 !important;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
html.app-mode #premiumConsent .btn-consent {
  padding: 8px 10px !important; font-size: 13px !important; flex: 1 1 0 !important; margin: 0 !important;
}
html.app-mode #premiumConsent { padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)) !important; }

/* Speed test option app mode mein menu se hidden */
html.app-mode a[href*="speed"],
html.app-mode li:has(> a[href*="speed"]) { display: none !important; }

/* System bars and safe areas */
html.app-mode, html.app-mode body { background: #ffffff; }
html.app-mode body {
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

