/* SmartLab Website Patch 18: Light Premium Tech (safe phase 1)
   Scope: home pages only via body.smartlab-premium-light */

.smartlab-premium-light{
  --bg1:#eef5ff;
  --bg2:#f8fbff;
  --card: rgba(255,255,255,.92);
  --card-bg: var(--card);
  --text:#16263d;
  --muted:#5c6f89;
  --border: rgba(22,38,61,.10);
  --shadow: 0 18px 48px rgba(35,76,128,.12);
  --accent:#ff8a00;
  --accent2:#38a6ff;
  color: var(--text);
  background:
    radial-gradient(920px 500px at 8% 0%, rgba(56,166,255,.18), transparent 60%),
    radial-gradient(760px 420px at 92% 10%, rgba(255,138,0,.14), transparent 52%),
    linear-gradient(180deg, var(--bg1), var(--bg2));
  background-attachment: scroll;
}

.smartlab-premium-light::before{
  opacity:.008;
  filter:none;
  transform:none;
  background-size: 176px 176px;
  background-position: 26px 18px;
}

.smartlab-premium-light::after{
  background:
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.10)),
    radial-gradient(760px 380px at 18% 5%, rgba(56,166,255,.08), transparent 64%),
    radial-gradient(680px 360px at 82% 12%, rgba(255,138,0,.06), transparent 58%);
}

.smartlab-premium-light a:hover{
  text-decoration-color: rgba(56,166,255,.45);
}

.smartlab-premium-light .topbar{
  background: rgba(252,253,255,.86);
  border-bottom: 1px solid rgba(22,38,61,.08);
  backdrop-filter: blur(10px);
}

.smartlab-premium-light .brand-badge{
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(236,244,255,.96));
  border-color: rgba(56,166,255,.20);
  box-shadow: 0 14px 34px rgba(56,166,255,.18);
}

.smartlab-premium-light .brand-title,
.smartlab-premium-light .nav a,
.smartlab-premium-light .btn,
.smartlab-premium-light .small-link,
.smartlab-premium-light .section-title h2,
.smartlab-premium-light .h1,
.smartlab-premium-light .app-name,
.smartlab-premium-light .page-title{
  color: var(--text);
}

.smartlab-premium-light .brand-sub,
.smartlab-premium-light .lead,
.smartlab-premium-light .section-title .muted,
.smartlab-premium-light .home-about-box p,
.smartlab-premium-light .app-desc,
.smartlab-premium-light .page-sub,
.smartlab-premium-light .breadcrumbs,
.smartlab-premium-light .meta,
.smartlab-premium-light .muted{
  color: var(--muted);
}

.smartlab-premium-light .nav a{
  border: 1px solid transparent;
}
.smartlab-premium-light .nav a.active,
.smartlab-premium-light .nav a:hover{
  background: rgba(56,166,255,.10);
  border-color: rgba(56,166,255,.16);
  text-decoration:none;
}

.smartlab-premium-light .btn,
.smartlab-premium-light .small-link{
  background: rgba(255,255,255,.88);
  border-color: rgba(22,38,61,.10);
  box-shadow: 0 10px 22px rgba(35,76,128,.08);
}
.smartlab-premium-light .btn:hover,
.smartlab-premium-light .small-link:hover{
  border-color: rgba(56,166,255,.24);
  background:#fff;
}

.smartlab-premium-light .card,
.smartlab-premium-light .home-about-box,
.smartlab-premium-light .home-post-card,
.smartlab-premium-light .faq details,
.smartlab-premium-light .home-app-picker,
.smartlab-premium-light .home-shot,
.smartlab-premium-light .home-shot-placeholder{
  background: rgba(255,255,255,.90);
  border-color: rgba(22,38,61,.08);
  box-shadow: 0 16px 42px rgba(35,76,128,.10);
}

.smartlab-premium-light .home-intro-card{
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,251,255,.92));
  border-color: rgba(56,166,255,.12);
}

.smartlab-premium-light .eyebrow,
.smartlab-premium-light .pill{
  color: #0f5a99;
  border-color: rgba(56,166,255,.22);
  background: rgba(56,166,255,.10);
}

.smartlab-premium-light .cta{
  color: var(--text);
  border-color: rgba(255,138,0,.18);
  background: linear-gradient(135deg, rgba(255,138,0,.16), rgba(255,196,90,.22));
  box-shadow: 0 12px 26px rgba(255,138,0,.10);
}
.smartlab-premium-light .cta.secondary{
  border-color: rgba(22,38,61,.10);
  background: rgba(255,255,255,.92);
}
.smartlab-premium-light .cta:hover{
  box-shadow: 0 16px 30px rgba(35,76,128,.12);
}
.smartlab-premium-light .cta.primary:hover{
  box-shadow: 0 18px 32px rgba(255,138,0,.14);
}

.smartlab-premium-light .home-slider,
.smartlab-premium-light .home-slider-viewport{
  background: rgba(255,255,255,.94);
  border-color: rgba(22,38,61,.08);
  box-shadow: 0 18px 44px rgba(35,76,128,.12);
}

.smartlab-premium-light .home-slide-overlay{
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(12,23,42,.08) 26%, rgba(12,23,42,.64) 100%);
}

.smartlab-premium-light .home-slider-btn{
  border-color: rgba(22,38,61,.12);
  background: rgba(255,255,255,.82);
  color: #1a2d45;
  backdrop-filter: blur(6px);
  box-shadow: 0 8px 20px rgba(35,76,128,.10);
}
.smartlab-premium-light .home-slider-dot{
  background: rgba(22,38,61,.18);
}
.smartlab-premium-light .home-slider-dot.active{
  background: linear-gradient(90deg, #ff8a00, #38a6ff);
}

.smartlab-premium-light .home-app-picker{
  background: rgba(255,255,255,.88);
  border-color: rgba(22,38,61,.08);
}
.smartlab-premium-light .home-app-picker:hover{
  background: rgba(56,166,255,.08);
  border-color: rgba(56,166,255,.18);
}
.smartlab-premium-light .home-app-picker.active{
  background: linear-gradient(135deg, rgba(56,166,255,.12), rgba(255,138,0,.08));
  border-color: rgba(56,166,255,.24);
  box-shadow: 0 14px 32px rgba(35,76,128,.12);
}

.smartlab-premium-light .home-shot-placeholder,
.smartlab-premium-light .faq details,
.smartlab-premium-light .app-card,
.smartlab-premium-light .app-screen,
.smartlab-premium-light .blog-card,
.smartlab-premium-light .blog-removed-card{
  color: var(--text);
}

.smartlab-premium-light .home-app-list .section-title,
.smartlab-premium-light .home-app-detail .section-title,
.smartlab-premium-light .home-news-section .section-title,
.smartlab-premium-light .home-apps-section .section-title{
  margin-bottom: 12px;
}

.smartlab-premium-light .home-about-grid,
.smartlab-premium-light .home-apps-grid,
.smartlab-premium-light .home-shot-grid{
  gap: 14px;
}

.smartlab-premium-light .home-app-card,
.smartlab-premium-light .app-card{
  height: 100%;
}

@media (max-width: 900px){
  .smartlab-premium-light .topbar{
    background: rgba(252,253,255,.92);
  }
  .smartlab-premium-light .home-intro-card,
  .smartlab-premium-light .card,
  .smartlab-premium-light .home-about-box{
    box-shadow: 0 10px 28px rgba(35,76,128,.08);
  }
}


/* Patch 18A — color/contrast refinement, homepage only. */
.smartlab-premium-light{
  background:#f1f6fc !important;
}
.smartlab-premium-light::after{
  background:
    radial-gradient(900px 500px at 9% 8%, rgba(48,158,247,.10), transparent 66%),
    radial-gradient(850px 450px at 93% 12%, rgba(255,151,57,.08), transparent 65%);
}
/* Contrast override: legacy topbar color must not win on light home pages. */
body.smartlab-premium-light .topbar{
  background:#f8fbff !important;
  background-color:#f8fbff !important;
  color:#172c48 !important;
  border-bottom:1px solid #d9e5f3 !important;
  -webkit-backdrop-filter:none !important;
  backdrop-filter:none !important;
  box-shadow:0 3px 18px rgba(36,80,125,.06);
}
body.smartlab-premium-light .topbar .brand-title,
body.smartlab-premium-light .topbar .brand,
body.smartlab-premium-light .topbar .nav a,
body.smartlab-premium-light .topbar .btn,
body.smartlab-premium-light .topbar .actions{
  color:#172c48 !important;
}
body.smartlab-premium-light .topbar .btn{
  background:#fff !important;
  border-color:#cfdded !important;
  box-shadow:none;
}
body.smartlab-premium-light .topbar .btn:hover,
body.smartlab-premium-light .topbar .nav a:hover{
  background:#e5f2ff !important;
}
/* Slider CTA text stays legible on detailed photo banners. */
body.smartlab-premium-light .home-slider .home-slide-actions .cta,
body.smartlab-premium-light .home-slider .home-slide-actions .cta.primary{
  color:#fff !important;
  background:linear-gradient(135deg,#e47712,#c65d0c) !important;
  border:1px solid rgba(255,255,255,.35) !important;
  text-shadow:0 1px 2px rgba(0,0,0,.35);
  box-shadow:0 6px 18px rgba(22,23,36,.28);
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
}
body.smartlab-premium-light .home-slider .home-slide-actions .cta.secondary{
  color:#182b45 !important;
  background:#fff !important;
  border-color:rgba(255,255,255,.8) !important;
  text-shadow:none;
  box-shadow:0 6px 18px rgba(17,33,55,.22);
}
body.smartlab-premium-light .home-slider .home-slide-actions .cta:hover{
  filter:brightness(1.06);
}
/* Keep the existing brand texture discreet and fixed to the viewport. */
body.smartlab-premium-light::before{
  position:fixed;
  opacity:.008 !important;
  filter:none !important;
  transform:none !important;
  background-size:176px 176px;
}
@media (max-width:900px){
  body.smartlab-premium-light .topbar{
    background:#f8fbff !important;
  }
}


/* Patch 22 — Light Premium Tech mobile navigation panel.
   Scoped to public pages with the premium-light body class.
   Does not change the mobile menu logic or the category glass cards. */
@media (max-width: 900px) {
  body.smartlab-premium-light .topbar .sl-mobile-nav-panel {
    background: #f8fbff !important;
    border: 1px solid #d5e4f3 !important;
    box-shadow: 0 18px 44px rgba(30, 67, 110, .16) !important;
    color: #172c48 !important;
  }
  body.smartlab-premium-light .topbar .sl-mobile-nav-panel a {
    color: #172c48 !important;
    background: transparent;
    text-shadow: none;
  }
  body.smartlab-premium-light .topbar .sl-mobile-nav-panel a:hover,
  body.smartlab-premium-light .topbar .sl-mobile-nav-panel a:focus-visible,
  body.smartlab-premium-light .topbar .sl-mobile-nav-panel a.active {
    background: #e5f2ff !important;
    color: #105a9d !important;
    text-decoration: none;
  }
  body.smartlab-premium-light .topbar .sl-mobile-nav-panel a:focus-visible {
    outline: 2px solid #1679cb;
    outline-offset: -2px;
  }
  body.smartlab-premium-light .topbar .sl-mobile-menu-button {
    color: #172c48 !important;
    background: #fff7ed !important;
    border-color: #efba79 !important;
  }
  body.smartlab-premium-light .topbar .sl-mobile-menu-button.is-open {
    background: #ffead2 !important;
    border-color: #e47712 !important;
  }
}
