/* AI InnoCore Universal Widget Styles (Prefix: nw-) */
.nw-pill { display: inline-block; padding: 2px 10px; border-radius: 99px; background: #ecfdf5; border: 1px solid #a7f3d0; color: #059669; font-size: 11px; font-weight: 700; }
.nw-ico { width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; font-size: 17px; flex-shrink: 0; }

/* 9-Dots Header Menu */
.nw-menu { position: relative; }
.nw-menu-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; font-size: 12px; font-weight: 700; background: #fff; color: #0f172a; border: 1.5px solid #cbd5e1; border-radius: 999px; cursor: pointer; transition: all .15s; }
.nw-menu-btn:hover { border-color: #2563eb; color: #2563eb; }
.nw-pop { position: absolute; right: 0; top: calc(100% + 8px); width: 270px; background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 12px; box-shadow: 0 10px 30px rgba(0,0,0,.14); z-index: 999; }
.nw-pop[hidden] { display: none; }
.nw-pop-head { display: flex; justify-content: space-between; align-items: center; font-size: 11px; font-weight: 700; color: #475569; padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px solid #e2e8f0; }
.nw-item { display: flex; align-items: center; gap: 10px; padding: 8px; margin-bottom: 6px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; text-decoration: none; color: #0f172a; transition: all .15s; }
.nw-item:hover { border-color: #2563eb; transform: translateX(3px); }
.nw-item b { display: block; font-size: 13px; font-weight: 800; }
.nw-item small { display: block; font-size: 11px; color: #64748b; }

/* Rotating Ad Banner */
.nw-banner { position: relative; background: #fff; border: 1px solid #cbd5e1; border-radius: 18px; padding: 20px 24px; box-shadow: 0 1px 3px rgba(0,0,0,.04); margin: 2.5rem auto; max-width: 860px; }
.nw-slide { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nw-slide.nw-in { animation: nwFade .45s ease; }
@keyframes nwFade { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }
.nw-left { flex: 1; min-width: 0; text-align: left; }
.nw-title { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 17px; font-weight: 800; color: #0f172a; }
.nw-left p { margin: 6px 0 12px; font-size: 13px; color: #64748b; line-height: 1.5; }
.nw-cta { display: inline-block; padding: 8px 16px; background: #2563eb; color: #fff; font-size: 12px; font-weight: 700; border-radius: 8px; text-decoration: none; transition: background .15s; }
.nw-cta:hover { background: #1d4ed8; }
.nw-right { width: 32%; min-width: 160px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 18px 12px; border-radius: 12px; border: 1px solid rgba(0,0,0,.08); text-decoration: none; color: #0f172a; text-align: center; }
.nw-big { font-size: 26px; }
.nw-right small { font-size: 11px; color: #475569; }

/* Controls */
.nw-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; border: 1px solid #cbd5e1; background: #fff; color: #0f172a; font-size: 18px; line-height: 1; cursor: pointer; opacity: 0; transition: opacity .2s; box-shadow: 0 2px 8px rgba(0,0,0,.1); }
.nw-prev { left: -14px; } .nw-next { right: -14px; }
.nw-banner:hover .nw-arrow { opacity: 1; }
.nw-single .nw-arrow { display: none; }
@media (max-width: 640px) { .nw-slide { flex-direction: column; align-items: stretch; } .nw-right { width: auto; } }

/* Compact Ecosystem Strip */
.nw-grid-box { background: #fff; border: 1px solid #e2e8f0; border-radius: 18px; padding: 22px 24px; margin: 3rem auto; max-width: 960px; }
.nw-grid-head { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; padding-bottom: 12px; margin-bottom: 16px; border-bottom: 1px solid #e2e8f0; }
.nw-grid-head h3 { font-size: 18px; font-weight: 800; color: #0f172a; margin: 0; }
.nw-grid-head p { font-size: 12px; color: #64748b; margin: 2px 0 0; }
.nw-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 10px; }
.nw-card { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 10px; text-decoration: none; color: #0f172a; transition: all .15s; }
.nw-card:hover { border-color: #2563eb; transform: translateY(-2px); }
.nw-card span:nth-child(2) { flex: 1; }
.nw-card b { display: block; font-size: 13px; font-weight: 800; }
.nw-card small { display: block; font-size: 11px; color: #64748b; }
.nw-card i { font-style: normal; color: #2563eb; font-weight: 700; }

/* Footer Column */
.nw-foot { text-align: left; }
.nw-foot h5 { font-size: 11px; font-weight: 800; letter-spacing: .08em; color: #0f172a; margin-bottom: 8px; text-transform: uppercase; }
.nw-foot a { display: block; font-size: 13px; color: #475569; text-decoration: none; margin-bottom: 6px; transition: color .15s; }
.nw-foot a:hover { color: #2563eb; }
.nw-foot em { font-style: normal; font-size: 10px; font-weight: 700; color: #059669; }
.nw-foot a { display: flex; align-items: center; gap: 8px; }
.nw-fi { display: inline-block; width: 20px; text-align: center; flex-shrink: 0; }

/* Showcase banner (auto-scrolling, one site at a time) */
.nw-sc-wrap { position: relative; max-width: 1100px; margin: 2.5rem auto; padding: 0 18px; box-sizing: border-box; }
.nw-sc { background: #fff; border: 1px solid #e2e8f0; border-radius: 22px; padding: 28px 34px; box-shadow: 0 6px 24px rgba(15,23,42,.07); outline: none; }
.nw-sc-slide { display: grid; grid-template-columns: 1fr 320px; grid-template-areas: "main side" "foot foot"; gap: 14px 28px; text-align: left; }
.nw-sc-slide.nw-in { animation: nwFade .45s ease; }
.nw-sc-main { grid-area: main; min-width: 0; }
.nw-sc-side { grid-area: side; display: flex; flex-direction: column; justify-content: center; gap: 10px; }
.nw-sc-foot { grid-area: foot; display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding-top: 14px; border-top: 1px solid #e2e8f0; font-size: 12px; color: #64748b; }
.nw-sc-foot i { font-style: normal; color: #cbd5e1; margin: 0 4px; }
.nw-sc-foot code { font-family: Consolas, monospace; font-size: 11.5px; color: #64748b; }
.nw-sc-state { font-size: 11.5px; font-weight: 600; color: #059669; }
.nw-sc-state::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-right: 6px; vertical-align: middle; }
.nw-sc-state.nw-paused { color: #f59e0b; }
.nw-sc-top { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.nw-sc-pill { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; }
.nw-sc-dark { background: #0f172a; color: #fff; }
.nw-sc-green { background: #ecfdf5; border: 1px solid #a7f3d0; color: #059669; }
.nw-sc-cat { font-size: 12px; color: #64748b; }
.nw-sc-count { margin-left: auto; font-size: 12px; font-weight: 700; color: #94a3b8; }
.nw-sc-title { font-size: 26px; font-weight: 800; color: #0f172a; margin: 0 0 4px; letter-spacing: -.02em; }
.nw-sc-live { display: inline-block; vertical-align: middle; margin-left: 6px; padding: 2px 9px; border-radius: 99px; font-size: 11px; font-weight: 700; color: #059669; background: #ecfdf5; border: 1px solid #a7f3d0; }
.nw-sc-head { margin: 0 0 8px; font-size: 15px; font-weight: 700; color: #059669; }
.nw-sc-desc { margin: 0 0 14px; font-size: 13.5px; line-height: 1.6; color: #475569; }
.nw-sc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.nw-sc-chip { padding: 6px 12px; border-radius: 10px; background: #f1f5f9; border: 1px solid #e2e8f0; font-size: 12px; font-weight: 600; color: #334155; }
.nw-sc-cta { display: block; text-align: center; padding: 14px 16px; border-radius: 12px; background: #059669; color: #fff; font-size: 14px; font-weight: 800; text-decoration: none; }
.nw-sc-cta:hover { background: #047857; }
.nw-sc-row { display: flex; gap: 10px; }
.nw-sc-share, .nw-sc-all { flex: 1; text-align: center; padding: 11px 10px; border-radius: 12px; font-size: 12.5px; font-weight: 700; cursor: pointer; text-decoration: none; font-family: inherit; }
.nw-sc-share { background: #ecfdf5; border: 1px solid #a7f3d0; color: #059669; }
.nw-sc-all { background: #f1f5f9; border: 1px solid #e2e8f0; color: #334155; }
.nw-sc-arrow { position: absolute; top: 44%; z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 1px solid #e2e8f0; background: #fff; color: #0f172a; font-size: 22px; line-height: 1; cursor: pointer; box-shadow: 0 3px 10px rgba(15,23,42,.15); }
.nw-sc-prev { left: 0; transform: translateX(-4px); }
.nw-sc-next { right: 0; transform: translateX(4px); background: #059669; border-color: #059669; color: #fff; }
.nw-sc-under { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 14px; padding: 0 6px; font-size: 12px; color: #334155; font-weight: 600; }
.nw-sc-dot-on { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #059669; margin-right: 8px; }
.nw-sc-dots { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; background: #fff; border: 1px solid #e2e8f0; border-radius: 99px; }
.nw-sc-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: #cbd5e1; cursor: pointer; transition: all .2s; }
.nw-sc-dot.nw-on { width: 24px; background: #059669; }
.nw-sc-copy { border: 0; background: none; color: #334155; font-size: 12px; font-weight: 700; cursor: pointer; font-family: inherit; }
.nw-sc-single .nw-sc-arrow, .nw-sc-single .nw-sc-dots { display: none; }
@media (max-width: 760px) {
  .nw-sc { padding: 22px 18px; }
  .nw-sc-slide { grid-template-columns: 1fr; grid-template-areas: "main" "side" "foot"; }
  .nw-sc-title { font-size: 22px; }
  .nw-sc-arrow { width: 32px; height: 32px; font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { .nw-sc-slide.nw-in { animation: none; } }
@media print { .nw-sc-wrap { display: none !important; } }

/* Progress line (fills in 10 seconds, then the next site appears) */
.nw-sc { position: relative; }
.nw-sc-barwrap { position: absolute; top: 0; left: 0; right: 0; height: 4px; border-radius: 22px 22px 0 0; overflow: hidden; pointer-events: none; background: #eef2f7; }
.nw-sc-bar { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #10b981, #0ea5e9); }
.nw-sc-bar.nw-run { animation: nwBar linear forwards; }
@keyframes nwBar { from { width: 0; } to { width: 100%; } }
.nw-sc.nw-hover .nw-sc-bar { animation-play-state: paused; }
.nw-sc-single .nw-sc-barwrap { display: none; }
.nw-sc-arrow { top: 50%; margin-top: -19px; }
.nw-sc-prev { left: -19px; transform: none; }
.nw-sc-next { right: -19px; transform: none; }
.nw-sc-cta:hover { filter: brightness(.92); }
.nw-sc-glb { width: 12px; height: 12px; vertical-align: -2px; margin-right: 5px; }
@media (max-width: 760px) { .nw-sc-arrow { margin-top: -16px; } .nw-sc-prev { left: -14px; } .nw-sc-next { right: -14px; } }

/* Smaller showcase, icons, arrows only on hover */
.nw-sc-wrap { max-width: 920px; margin: 1.6rem auto; }
.nw-sc { padding: 20px 26px; border-radius: 18px; }
.nw-sc-barwrap { border-radius: 18px 18px 0 0; }
.nw-sc-slide { grid-template-columns: 1fr 250px; gap: 10px 22px; }
.nw-sc-top { margin-bottom: 8px; }
.nw-sc-title { font-size: 21px; }
.nw-sc-live { font-size: 10.5px; padding: 1px 8px; }
.nw-sc-head { font-size: 13.5px; margin-bottom: 6px; }
.nw-sc-desc { font-size: 12.5px; line-height: 1.55; margin-bottom: 10px; }
.nw-sc-chips { gap: 6px; }
.nw-sc-chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; font-size: 11px; border-radius: 8px; }
.nw-sc-ck { width: 13px; height: 13px; color: #059669; flex-shrink: 0; }
.nw-sc-ic { width: 14px; height: 14px; flex-shrink: 0; }
.nw-sc-cta { padding: 11px 14px; font-size: 13px; }
.nw-sc-share, .nw-sc-all { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 8px; font-size: 12px; }
.nw-sc-foot { padding-top: 10px; font-size: 11.5px; }
.nw-sc-under { margin-top: 10px; font-size: 11.5px; }
.nw-sc-copy { display: inline-flex; align-items: center; gap: 5px; }
.nw-sc-arrow { width: 32px; height: 32px; font-size: 19px; margin-top: -16px; opacity: 0; transition: opacity .2s; }
.nw-sc-prev { left: -16px; }
.nw-sc-next { right: -16px; }
.nw-sc:hover .nw-sc-arrow, .nw-sc-arrow:focus-visible { opacity: 1; }
@media (hover: none) { .nw-sc-arrow { opacity: .9; } }
@media (max-width: 760px) {
  .nw-sc-slide { grid-template-columns: 1fr; }
  .nw-sc { padding: 16px 14px; }
  .nw-sc-title { font-size: 19px; }
  .nw-sc-arrow { width: 28px; height: 28px; font-size: 16px; margin-top: -14px; }
  .nw-sc-prev { left: -12px; }
  .nw-sc-next { right: -12px; }
}

/* Same promise line on every slide */
.nw-sc-trust { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 10px; font-size: 11px; font-weight: 700; color: #047857; }
.nw-sc-trust span::before { content: ""; display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #10b981; margin-right: 6px; vertical-align: middle; }
