/* STA 首页 — 基于现有 HTML 骨架的布局与视觉 */

:root {
    --sta-ink: #0b1220;
    --sta-ink-soft: #111c33;
    --sta-surface: #ffffff;
    --sta-surface-2: #f1f5f9;
    --sta-muted: #64748b;
    --sta-text: #1e293b;
    --sta-accent: #0d9488;
    --sta-accent-2: #0ea5e9;
    --sta-violet: #7c3aed;
    --sta-radius: 14px;
    --sta-radius-sm: 10px;
    --sta-shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
    --sta-shadow-soft: 0 8px 30px rgba(15, 23, 42, 0.08);
    --sta-nav-h: 72px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    margin: 0;
    padding: 0;
    color: var(--sta-text);
    background: var(--sta-surface);
    line-height: 1.65;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

body.home-sta {
    background: var(--sta-surface-2);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    position: relative;
}

.container,
.container-fluid {
    width: 100%;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
}

@media (min-width: 992px) {
    .container {
        max-width: 1140px;
    }
}

/* —— 顶栏 —— */
.home-topbar {
    transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

.home-sta .home-topbar .navbar {
    min-height: var(--sta-nav-h);
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
    background: transparent !important;
    border-bottom: 1px solid transparent;
}

.home-sta .home-topbar .navbar.scrolled {
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom-color: rgba(148, 163, 184, 0.25);
    box-shadow: var(--sta-shadow-soft);
}

.home-sta .home-topbar .navbar:not(.scrolled) .nav-link,
.home-sta .home-topbar .navbar:not(.scrolled) .navbar-brand {
    color: rgba(255, 255, 255, 0.92) !important;
}

.home-sta .home-topbar .navbar.scrolled .nav-link,
.home-sta .home-topbar .navbar.scrolled .navbar-brand {
    color: var(--sta-text) !important;
}

.home-sta .home-topbar .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.35);
}

.home-sta .home-topbar .navbar.scrolled .navbar-toggler {
    border-color: rgba(15, 23, 42, 0.15);
}

.home-sta .nav_row ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.home-sta .store_buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

.home-sta .store_buttons img {
    max-height: 38px;
    width: auto;
    border-radius: 8px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.home-sta .store_buttons a:hover img {
    transform: translateY(-2px);
    opacity: 0.9;
}

.home-sta .btn-login {
    font-weight: 600;
    padding: 0.45rem 0.85rem !important;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.45) !important;
}

.home-sta .home-topbar .navbar.scrolled .btn-login {
    border-color: rgba(15, 23, 42, 0.2) !important;
    color: var(--sta-text) !important;
}

.home-sta .btn_trial {
    border-radius: 999px;
    padding: 0.45rem 1.1rem !important;
    font-weight: 600;
    background: linear-gradient(135deg, var(--sta-accent), #14b8a6) !important;
    border: none !important;
    color: #fff !important;
    margin-left: 6px;
}

.home-sta .home-topbar .navbar.scrolled .btn_trial {
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
}

.home-sta .pull_down {
    background: var(--sta-surface);
    border-radius: var(--sta-radius-sm);
    box-shadow: var(--sta-shadow);
    border: 1px solid rgba(148, 163, 184, 0.2);
}

/* —— Hero / Banner —— */
.home-sta section.banner {
    margin-top: calc(-1 * var(--sta-nav-h));
    padding-top: calc(var(--sta-nav-h) + 3rem);
    padding-bottom: 4rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--sta-ink);
    background-image:
        linear-gradient(165deg, rgba(11, 18, 32, 0.88) 0%, rgba(17, 28, 51, 0.95) 50%, rgba(11, 18, 32, 0.98) 100%),
        url("../../images/home/hero-glow.svg"),
        url("../../images/home/hero-grid.svg");
    background-size: auto, cover, 400px 400px;
    background-position: center, center, center;
    background-repeat: no-repeat, no-repeat, repeat;
    color: #e2e8f0;
    overflow: hidden;
}

.home-sta section.banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 70% 20%, rgba(94, 234, 212, 0.15), transparent 55%);
    pointer-events: none;
}

.home-sta section.banner .container {
    position: relative;
    z-index: 1;
}

.home-sta .banner .b_h {
    align-items: center;
    min-height: 38vh;
}

.home-sta .banner_content h1 {
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: #f8fafc;
    margin-bottom: 1rem;
}

.home-sta .banner_content p {
    font-size: 1.1rem;
    color: rgba(226, 232, 240, 0.85);
    max-width: 36rem;
}

.home-sta .b_text {
    color: rgba(203, 213, 225, 0.9) !important;
}

.home-sta .btn_free_trial {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.9rem 1.75rem;
    border-radius: 999px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--sta-accent), var(--sta-accent-2));
    color: #fff !important;
    box-shadow: 0 10px 35px rgba(14, 165, 233, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-sta .btn_free_trial:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(14, 165, 233, 0.45);
    color: #fff !important;
}

.home-sta .btn_story {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.35rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.08);
    color: #f1f5f9 !important;
    font-weight: 600;
    backdrop-filter: blur(8px);
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.home-sta .btn_story::before {
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 0 8px 12px;
    border-color: transparent transparent transparent #f1f5f9;
    margin-right: 2px;
}

.home-sta .btn_story:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.5);
}

.home-sta #myVideoContainer {
    position: fixed !important;
    inset: 0;
    z-index: 10000;
    background: rgba(0, 0, 0, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.home-sta #myVideo {
    position: relative !important;
    max-width: min(960px, 100%);
    max-height: 85vh;
    width: 100%;
    height: auto;
    border-radius: var(--sta-radius);
    display: none;
}

.home-sta #closeButton {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
}

/* —— About + 数据 —— */
.home-sta .about {
    background: var(--sta-surface);
    border-radius: 0;
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

.home-sta .about .maps,
.home-sta .about #chartdiv {
    min-height: 320px;
    border-radius: var(--sta-radius);
    overflow: hidden;
    box-shadow: var(--sta-shadow-soft);
    background: linear-gradient(145deg, #0f172a, #1e293b);
}

.home-sta .about h1.txt_he {
    font-size: clamp(1.35rem, 2.5vw, 1.65rem) !important;
    font-weight: 700;
    color: var(--sta-text);
}

.home-sta .about h1.txt_he span {
    color: var(--sta-accent);
}

.home-sta .a_content {
    padding: 1.25rem;
    border-radius: var(--sta-radius-sm);
    background: var(--sta-surface-2);
    border: 1px solid rgba(148, 163, 184, 0.2);
    height: 100%;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.home-sta .a_content:hover {
    box-shadow: var(--sta-shadow-soft);
    border-color: rgba(13, 148, 136, 0.25);
}

.home-sta .a_content h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--sta-ink);
    margin-bottom: 0.5rem;
}

.home-sta .a_content p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--sta-muted);
}

.home-sta .ban_icon {
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, 0.15);
    min-height: 72px;
}

.home-sta .ban_icon img {
    max-height: 40px;
    width: auto;
    margin: 0 auto;
    object-fit: contain;
    filter: grayscale(0.15);
    opacity: 0.92;
}

/* —— Explore 卡片轮播 —— */
.home-sta .home-section-explore {
    background: linear-gradient(180deg, var(--sta-surface) 0%, var(--sta-surface-2) 100%);
    padding-top: 3.5rem !important;
    padding-bottom: 4rem !important;
    border-radius: 0;
}

.home-sta .home-section-explore .title_commerce {
    text-align: center;
    margin-bottom: 2rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--sta-ink);
}

.home-sta .ex_content {
    height: 100%;
}

.home-sta .ex_content > a {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.75rem;
    border-radius: var(--sta-radius);
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: var(--sta-shadow-soft);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.home-sta .ex_content > a:hover {
    transform: translateY(-6px);
    box-shadow: var(--sta-shadow);
    border-color: rgba(13, 148, 136, 0.35);
}

.home-sta .ex_content img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    margin-bottom: 1.25rem;
}

.home-sta .ex_content h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--sta-ink);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.home-sta .ex_content h2 .fa-arrow-right,
.home-sta .ex_content h2 .icon-arrow {
    font-size: 0.85em;
    opacity: 0.7;
    transition: transform 0.2s ease;
}

.home-sta .ex_content > a:hover h2 .fa-arrow-right,
.home-sta .ex_content > a:hover h2 .icon-arrow {
    transform: translateX(4px);
}

.home-sta .ex_content p {
    margin: 0;
    flex: 1;
    color: var(--sta-muted);
    font-size: 0.95rem;
}

/* —— Build 区块 —— */
.home-sta section.build {
    background: var(--sta-ink);
    color: #e2e8f0;
    padding-bottom: 2rem;
}

.home-sta section.build .title_commerce,
.home-sta section.build .titleTwo {
    color: #f8fafc !important;
    text-align: center;
}

.home-sta section.build .titleTwo {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 600;
    opacity: 0.9;
    margin-top: 0.5rem;
}

.home-sta .ur_str {
    margin: 2rem 0 3rem;
    border-radius: var(--sta-radius);
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.home-sta .ur_video {
    background: #000;
}

.home-sta .ur_video video {
    width: 100%;
    display: block;
    vertical-align: middle;
}

.home-sta .str_cnt {
    padding: 1.5rem;
    border-radius: var(--sta-radius-sm);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    height: 100%;
    margin-bottom: 1rem;
}

.home-sta .str_cnt h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #f8fafc;
}

.home-sta .str_cnt p {
    color: rgba(226, 232, 240, 0.8);
    font-size: 0.95rem;
}

.home-sta .str_cnt button {
    margin-top: 0.75rem;
    background: transparent !important;
    border: 1px solid rgba(94, 234, 212, 0.45) !important;
    color: #5eead4 !important;
    border-radius: 999px;
    padding: 0.55rem 1.1rem !important;
    font-weight: 600;
}

.home-sta .str_cnt button:hover {
    background: rgba(94, 234, 212, 0.12) !important;
}

/* —— Sales channels —— */
.home-sta .sale_cannels {
    background: var(--sta-surface);
}

.home-sta .mail_chimp {
    border-radius: var(--sta-radius);
    padding: 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
    border: 1px solid rgba(99, 102, 241, 0.12);
}

.home-sta .mail_chimp > .row:first-child h1 {
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    font-weight: 800;
    color: var(--sta-ink);
}

.home-sta .sale_img {
    border-radius: var(--sta-radius-sm);
    overflow: hidden;
    box-shadow: var(--sta-shadow-soft);
    border: 1px solid rgba(148, 163, 184, 0.15);
}

.home-sta .sale_img img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* —— Checkout / Point —— */
.home-sta .checkout {
    background: var(--sta-surface-2);
}

.home-sta .checkout .video,
.home-sta .checkout .video video {
    border-radius: var(--sta-radius);
    overflow: hidden;
    box-shadow: var(--sta-shadow);
}

.home-sta .check h1 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 800;
    color: var(--sta-ink);
}

.home-sta .poin_sell {
    background: var(--sta-surface);
}

.home-sta .poin_sell .col-md-7 img {
    border-radius: var(--sta-radius);
    box-shadow: var(--sta-shadow-soft);
}

/* —— 营销视频区 —— */
.home-sta section.marketing {
    background: var(--sta-surface);
}

.home-sta section.marketing:nth-of-type(even) {
    background: var(--sta-surface-2);
}

.home-sta .market_content .row {
    cursor: pointer;
    margin-bottom: 0.75rem;
    align-items: center;
}

.home-sta .m_cnt {
    padding: 1rem 1.15rem;
    border-radius: var(--sta-radius-sm);
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.2);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-sta .market_content .row.active .m_cnt,
.home-sta .m_cnt:hover {
    border-color: var(--sta-accent);
    box-shadow: 0 6px 20px rgba(13, 148, 136, 0.12);
}

.home-sta .m_cnt h1 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.home-sta .m_cnt p {
    font-size: 0.9rem;
    margin: 0;
}

.home-sta .videos {
    position: relative;
    min-height: 280px;
    border-radius: var(--sta-radius);
    overflow: hidden;
    background: #0f172a;
    box-shadow: var(--sta-shadow);
}

.home-sta .videos video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.45s ease;
}

.home-sta .videos video:first-of-type {
    opacity: 1;
}

/* —— 中部横幅图 —— */
.home-sta .b_video {
    background: linear-gradient(180deg, var(--sta-surface-2), var(--sta-surface));
}

.home-sta .b_video img {
    border-radius: var(--sta-radius);
    box-shadow: var(--sta-shadow);
}

/* —— 评价 —— */
.home-sta .testimonial {
    background: var(--sta-ink-soft);
    color: #e2e8f0;
}

.home-sta .testimonial .slider_content h1 {
    font-size: clamp(1.25rem, 2.2vw, 1.65rem);
    font-weight: 700;
    color: #f8fafc;
    font-style: italic;
}

.home-sta .testimonial .slider_content h2 {
    font-size: 1.1rem;
    color: #5eead4;
    margin-top: 1rem;
}

.home-sta .testimonial .slider_content p {
    color: rgba(226, 232, 240, 0.75);
}

.home-sta .testimonial .img_part img {
    border-radius: var(--sta-radius);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.home-sta .testimonial .owl-nav button {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    border-radius: 50% !important;
}

/* —— Support —— */
.home-sta .support {
    background: var(--sta-surface);
}

.home-sta .big_title h2 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--sta-accent);
    font-weight: 700;
}

.home-sta .big_title h1 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--sta-ink);
}

.home-sta .support_content {
    padding: 1.5rem;
    border-radius: var(--sta-radius);
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.18);
    box-shadow: var(--sta-shadow-soft);
    height: 100%;
    margin-bottom: 1.5rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-sta .support_content:hover {
    transform: translateY(-4px);
    box-shadow: var(--sta-shadow);
}

.home-sta .support_content h1 {
    font-size: 1.15rem;
    font-weight: 700;
}

.home-sta .btn-read {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.75rem;
    padding: 0.4rem 0;
    font-weight: 600;
    color: var(--sta-accent) !important;
    background: transparent !important;
    border: none !important;
}

.home-sta .btn-read:hover {
    color: var(--sta-accent-2) !important;
}

/* —— Grow CTA —— */
.home-sta .grow_business {
    background: linear-gradient(135deg, #0f766e 0%, #0e7490 45%, #1e3a5f 100%);
    position: relative;
    overflow: hidden;
}

.home-sta .grow_business::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../../images/home/hero-grid.svg");
    background-size: 360px;
    opacity: 0.2;
    pointer-events: none;
}

.home-sta .grow_content {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    border-radius: var(--sta-radius) !important;
    color: #f8fafc;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
}

.home-sta .grow_content h1,
.home-sta .grow_content p {
    color: #f8fafc !important;
}

.home-sta .grow_content p {
    opacity: 0.92;
}

.home-sta .grow_content .btn_trial {
    background: #fff !important;
    color: var(--sta-ink) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* —— 通用标题与按钮 —— */
.home-sta .title_commerce {
    font-weight: 800;
    color: var(--sta-ink);
    margin-bottom: 1.5rem;
}

.home-sta .mail_form .btn_start_selling {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
    max-width: 320px;
    padding: 0.85rem 1.25rem !important;
    border-radius: 999px !important;
    border: none !important;
    background: linear-gradient(135deg, var(--sta-ink), #1e3a5f) !important;
    color: #fff !important;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.2);
}

.home-sta .mail_form .btn_start_selling:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.home-sta .btn_start_selling .s_lst {
    opacity: 0.6;
}

/* —— Grid / Bootstrap 共存 —— */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -12px;
    margin-right: -12px;
}

[class*="col-"] {
    width: 100%;
    padding-left: 12px;
    padding-right: 12px;
}

@media (min-width: 768px) {
    .col-md-3 {
        width: 25%;
    }
    .col-md-4 {
        width: 33.3333%;
    }
    .col-md-5 {
        width: 41.6667%;
    }
    .col-md-6 {
        width: 50%;
    }
    .col-md-7 {
        width: 58.3333%;
    }
    .col-md-8 {
        width: 66.6667%;
    }
    .col-md-12 {
        width: 100%;
    }
    .col-2 {
        width: 16.6667%;
    }
    .col-6 {
        width: 50%;
    }
    .col-10 {
        width: 83.3333%;
    }
}

.py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.mt-0 {
    margin-top: 0;
}

.mt-5 {
    margin-top: 3rem;
}

.m-auto {
    margin-left: auto;
    margin-right: auto;
}

.text-center {
    text-align: center;
}

.text-end {
    text-align: right;
}

.justify-content-center {
    justify-content: center;
}

.align-items-center {
    align-items: center;
}

.d-flex {
    display: flex;
}

/* —— Owl —— */
.owl-carousel .owl-item {
    padding: 8px;
}

.owl-theme .owl-dots {
    margin-top: 12px;
}

.owl-theme .owl-dots .owl-dot span {
    background: rgba(15, 23, 42, 0.2);
}

.owl-theme .owl-dots .owl-dot.active span,
.owl-theme .owl-dots .owl-dot:hover span {
    background: var(--sta-accent);
}

/* —— 非 home 页兼容：保留原 nav 浅色 —— */
body:not(.home-sta) nav,
body:not(.home-sta) .navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    border-bottom: 1px solid #e5e7eb;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
}

p {
    margin-top: 0;
    margin-bottom: 12px;
}

/* 箭头图标兜底（无 Font Awesome 时） */
.icon-arrow::before {
    content: "→";
    font-style: normal;
    font-weight: 700;
    display: inline-block;
}
