/* Lewes storefront palette. Loaded after page styles; artwork keeps its original colours. */
:root {
    color-scheme: dark;
    --ink: #f4f3fa;
    --deep: #f4f3fa;
    --aqua: #a4eae4;
    --aqua2: #83dce9;
    --apricot: #f5cddf;
    --ice: #090b18;
    --paper: #000000;
    --soft: #12162a;
    --line: #2b3048;
    --muted: #b5b8ca;
    --shadow: rgba(76, 58, 255, .25);
    --card: linear-gradient(115deg, #12102c, #090c22 58%, #092525);
    --blue: linear-gradient(40deg, #4435e5, #1764c9 55%, #117b88);
    --blue: linear-gradient(45deg, #aa22c0, #1764c9 );
    --purple: linear-gradient(40deg, #5925ab, #aa22c0 65%, #ce68d5);
}
body { background: #000; color: var(--ink); }
a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, [tabindex]:focus-visible {
    outline: 1px solid var(--aqua);
    outline-offset: 0;
}
::selection { background: #653bc3; color: #fff; }

/* Navigation, including scroll and expanded menu states. */
.header, .header.show, .header.menu-open {
    background: rgba(0, 0, 0, .88);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(164, 234, 228, .12);
    box-shadow: 0 4px 24px rgba(0, 0, 0, .35);
}
.header .logo, .header.show .logo, .header.menu-open .logo {
    flex: 0 1 280px;
    width: 280px;
    min-width: 0;
    height: 48px;
}
.header .logo .logo-text, .header.show .logo .logo-text { color: var(--ink); }
.header .nav a, .header.show .nav a { color: #c3c5d4; }
.header .nav a:hover, .header .nav a.active,
.header.show .nav a:hover, .header.show .nav a.active { color: var(--aqua); }
.header .nav a.active { text-shadow: 0 0 18px rgba(55, 196, 225, .4); }
.header .nav-cta { flex-shrink: 0; }

/* Pure black sections with restrained cyan and violet atmosphere. */
.content, .home-box.bg, .homeabout.nod, .aboutbox.bg,
.contact-box, .services-box.bg { background: #000; }
.home-box.bg, .services-box.bg, .faq-box{
    background: radial-gradient(ellipse at 12% 25%, rgba(0, 133, 167, .12), transparent 48%),
                radial-gradient(ellipse at 88% 18%, rgba(121, 27, 164, .13), transparent 48%), #000;
}
.homebanner .text, .subbanner .text {
    background: linear-gradient(90deg, rgba(0, 0, 0, .82), rgba(0, 0, 0, .52));
}
.header .logo .logo-text i,.h2title .title, .h3title .title, .homebanner .text .title,
.subbanner .title, .demo-intro .title, .advantage-h2 em {
    color: var(--aqua);
    background-image: linear-gradient(100deg, #a4eae4 15%, #c3dfe5 50%, #f5cddf 85%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.h2title .title:after, .h2title .line {
    background: linear-gradient(90deg, #a4eae4, #c26bdf, #f5cddf);
    box-shadow: 0 0 16px rgba(147, 61, 213, .5);
}
.h2title .subtitle, .h3title .desc, .path, .path a,
.case-list li .desc, .related-news li .desc, .related-news li .date,
.news-list li .date, .news-list li .desc, .news-det-meta,
.faq-list li .text, .price-list .list li { color: var(--muted); }
.path a:hover { color: var(--aqua); }
.h2title .subtitle { max-width: 100%; }

/* Dark rounded panels, never invert screenshots or customer marks. */
.box, .services .item, .scenario .item, .case-list li a,
.related-news li a, .news-list li a, .price-list .item,
.process-list .item, .advantage-list li, .follow-list li,
.contact-map .text, .services-contact, .demo-intro .browser,
.demo-intro .browser .cards .c, .demo-intro .tip {
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: 0 8px 28px rgba(0, 0, 0, .3);
}
.services .item:hover, .scenario .item:hover, .case-list li a:hover,
.related-news li a:hover, .news-list li a:hover, .price-list .item:hover,
.price-list .item.featured, .process-list .item:hover,
.advantage-list li:hover, .follow-list li:hover {
    background: var(--card);
    border-color: #454c72;
    box-shadow: 0 6px 28px rgba(79, 42, 194, .24), 0 0 16px rgba(24, 158, 179, .08);
}
.services .item h2, .services .item h3, .scenario .item h2,
.scenario .item h3, .case-list li .title, .related-news li .title,
.news-list li .title, .process-list .item h3, .faq-list li .title,
.faq-list li:hover .title, .follow-list li .name,
.homeabout .number li, .advantage-h2, .advantage-list li { color: var(--ink); }
/* Existing service artwork contains pale backgrounds; darken only its backdrop
   so overlaid white copy is legible while the illustration remains visible. */
.services .item .pic:after, .scenario .item .pic:after, .process-list .item .pic:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(7, 9, 26, .96), rgba(7, 9, 26, .88) 48%, rgba(7, 9, 26, .2));
    pointer-events: none;
}
.services .item .pic, .scenario .item .pic, .process-list .item .pic { position: relative; }

/* Luminous blue/cyan and purple spheres echo the Taobao artwork. */
.services .item .iconfont, .scenario .item .iconfont,
.case-list li .country .iconfont, .news-list li .icon,
.process-list .item .tag, .process-list .item:hover .tag {
    color: #fff;
    background: var(--blue);
    border: 1px solid rgba(164, 234, 228, .3);
    box-shadow: inset 0 2px 7px rgba(255, 255, 255, .28), 0 0 26px rgba(43, 51, 230, .42);
    flex-shrink: 0;
}
.services .item .iconfont, .scenario .item .iconfont { width: 56px; height: 56px; font-size: 21px; }
.services .item:nth-child(odd) .iconfont, .scenario .swiper-slide:nth-child(odd) .iconfont,
.scenario > .item:nth-child(odd) .iconfont, .process-list .item:nth-child(even) .tag {
    background: var(--purple);
    box-shadow: inset 0 2px 7px rgba(255, 255, 255, .3), 0 0 28px rgba(162, 30, 189, .4);
}
.services .item:hover .iconfont, .scenario .item:hover .iconfont,
.case-list li:hover .country .iconfont, .news-list li:hover .icon { color: #fff; }
.advantage-list li { border-radius: 28px; }
.faq-list li { border-color: var(--line); }

.faq-list li .text .more a { color: var(--aqua); }

/* Buttons, selection and pagination share the same brand treatment. */
.nav-cta, .btn a, .btn a:hover, .more a, .more a:hover,
.form-btn, .form-btn:hover, .footer .foot-newsletter button,
.footer .foot-newsletter button:hover, .homebanner .text .btn a.cur,
.homebanner .text .btn a:hover, .homebanner .text .btn a.cur:hover,
.pagination a:hover, .pagination li.active a, .submenu a.cur,
.submenu li.on, .submenu a:hover, .news-det-nav .news-det-back,
.price-list .eyebrow, [data-filter-group] button.active {
    color: #fff;
    background: var(--blue);
    border-color: #526ce0;
    box-shadow: 0 0 22px rgba(53, 64, 224, .3);
}
.btn a.primary, .homebanner .text .btn a:not(.cur), .pagination a,
.submenu a, .submenu li, .case-det-tag-list a, .news-det-tag-list a,
.newsbanner .date a, .newsbanner .date a:hover, [data-filter-group] button {
    color: var(--ink);
    background: #101225;
    border-color: var(--line);
}
.btn a.primary:hover, .case-det-tag-list a:hover, .news-det-tag-list a:hover {
    color: #fff;
    background: var(--purple);
}
.swiper-box .swiper-button-prev, .swiper-box .swiper-button-next,
.swiper-button-prev, .swiper-button-next { background: #101225; border-color: #515978; }
.swiper-button-next:after, .swiper-button-prev:after,
.swiper-button-next:hover:after, .swiper-button-prev:hover:after { color: var(--aqua); }
.swiper-pagination .swiper-pagination-bullet-active,
.swiper-controls .swiper-pagination-bullet-active { background: var(--blue); }
.news-det-body .share a, .case-det-body .case-det-share a,
.news-det-head, .news-det-nav, .case-det-nav { border-color: var(--line); }
.news-det-body .share a:hover, .case-det-body .case-det-share a:hover { background: var(--card); border-color: #6853a2; }

/* Forms and overlays. QR codes retain a white scanning margin. */
.form-input, .form-textarea, select, .footer .foot-newsletter input {
    color: var(--ink);
    background: #101225;
    border: 1px solid #424961;
}
input::placeholder, textarea::placeholder { color: #a4a9bf; opacity: 1; }
.form-input:focus, .form-textarea:focus, .footer .foot-newsletter input:focus {
    background: #15182c;
}
.form-item label .red { color: #ff95b3; }
.follow-list li .qr { background: #fff; border-color: #fff; color-scheme: light; }
.toast, .popup, .pop-box, #PopErcode, .fancybox__content:not(:has(video, iframe)) {
    background-color: #101225;
    color: var(--ink);
    border-color: var(--line);
}
.footer { background: #05050d; border-top: 1px solid var(--line); }
.footer .foot-logo img { width: 64px; height: 64px; object-fit: contain; border-radius: 14px; }
.footer .foot-logo span { font-weight: 700; font-size: 20px; }
.footer .foot-copyright .wrapper { border-color: var(--line); }
.demo-intro .browser .body { background: linear-gradient(180deg, #11152b, #090b18); }
.demo-intro .browser .url, .demo-intro .browser .hero .cta { background: #101225; }
.demo-intro .browser .dot, .demo-intro .browser .line.right,
.demo-intro .browser .cards .ln { background: #414b71; }

/* Keep the shared footer and long article content within the viewport. */
.news-det-body { width: min(1200px, 100%); overflow-wrap: anywhere; }
.news-det-body img, .case-det-body img { max-width: 100%; }
.news-det-body table, .case-det-body table { max-width: 100%; }
.customer-list { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.customer-list li { min-width: 0; }
.customer-list li div img { max-width: 100%; object-fit: contain; }
.footer .foot-nav li, .footer .foot-newsletter { min-width: 0; }
.footer .foot-nav li a, .footer .foot-nav li dd { white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 1023px) {
    .customer-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .footer .foot-nav ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
    .footer .foot-nav li, .footer .foot-nav li:nth-child(1),
    .footer .foot-nav li:nth-child(2), .footer .foot-newsletter { width: 100%; min-width: 0; }
    .footer .foot-copyright .wrapper { flex-wrap: wrap; gap: 12px; line-height: 1.8; }
    .footer .foot-newsletter button { font-size: 15px; }
    .news-det-body .share, .case-det-body .case-det-share { position: static; display: flex; gap: 10px; }
}

@media (max-width: 1200px) and (min-width: 768px) {
    .header .topbox { gap: 16px; }
    .header .nav { gap: 20px; margin-right: 0; }
    .header .logo, .header.show .logo { flex-basis: 240px; width: 240px; }
    .header .logo .logo-text { font-size: 17px; letter-spacing: 0; }
}
@media (max-width: 1023px) and (min-width: 768px) {
    .header .logo, .header.show .logo { flex-basis: 52px; width: 52px; padding-left: 0; }
    .header .logo .logo-text { display: none; }
    .header .nav { gap: 16px; font-size: 15px; }
    .header .topbox { gap: 10px; }
    .header .nav { gap: 12px; font-size: 14px; }
    .header .nav-cta { padding: 8px 12px; }
}
@media (max-width: 767px) {
    .customer-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .submenu { height: auto; }
    .submenu .wrapper { justify-content: flex-start; overflow-x: auto; padding-bottom: 6px; }
    .submenu a, .submenu li { flex-shrink: 0; white-space: nowrap; margin-right: 12px; }
    .header .logo, .header.show .logo, .header.menu-open .logo {
        flex: 0 0 230px;
        width: 230px;
        height: 40px;
        padding-left: 0;
    }
    .header .nav { background: #090b18; border-bottom: 1px solid var(--line); }
    .header .nav a, .header.show .nav a { color: var(--ink); border-color: var(--line); }
    .header .nav a.active, .header.show .nav a.active { color: var(--aqua); background: #17142d; }
    .header .icon-menu { position: relative; top: auto; right: auto; }
    .header .icon-menu:before, .header.show .icon-menu:before,
    .header.menu-open .icon-menu:before { background: var(--ink); box-shadow: 0 7px 0 var(--ink); }
    .header .icon-menu:after { background: var(--ink); }
    .header .icon-menu[aria-expanded="true"]:before { box-shadow: none; }
    .homebanner .text .title { line-height: 1.4; }
    .homebanner .text .btn { gap: 12px; }
    .homebanner .text .btn a { margin-right: 0; max-width: calc(50% - 6px); }
    .footer .foot-info { grid-column: 1 / -1; }
    .footer .foot-newsletter { grid-column: 1 / -1; }
    .footer .foot-info .desc { margin-bottom: 18px; }
    .footer .foot-newsletter .desc { margin-bottom: 16px; }
    .footer .foot-links { display: flex; flex-wrap: wrap; }
    .footer .foot-copyright a { margin-left: 0; margin-right: 12px; }
    .footer .foot-logo img { width: 56px; height: 56px; }
    .pagination { flex-wrap: wrap; row-gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
    .services .item, .scenario .item, .case-list li a { transition: none; }
}
