/* ===== Check-list Icon Fix ===== */
ul.check-list-one li {
    font-size: 16px;
    color: #555;
    padding: 6px 0;
    display: flex !important;
    align-items: flex-start !important;
}
.cta-img {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
}

    .cta-img img {
        max-width: 100%;
        height: auto;
        display: block;
    }
ul.check-list-one li:before {
    content: "\f00c" !important;
    font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    font-size: 11px !important;
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    min-height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 12px !important;
    margin-top: 2px !important;
    line-height: 1 !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    background-color: rgba(74, 108, 247, 0.12) !important;
    color: #4a6cf7 !important;
}

ul.check-list-one li.bg-one:before,
ul.check-list-one li.bg-two:before,
ul.check-list-one li.check:before {
    background-color: rgba(74, 108, 247, 0.12) !important;
    color: #4a6cf7 !important;
}

/* ===== Language Switcher ===== */
.header-navigation .header-right-nav ul li.lang-switcher {
    position: relative;
    margin-left: 20px;
}

.lang-switcher .lang-current {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    color: #fff !important;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.3s;
    white-space: nowrap;
    user-select: none;
}

.lang-switcher .lang-current:hover {
    background: rgba(255,255,255,0.12);
}

/* Sticky header: dark bg #0A1426, text must remain white */
.navigation-white.sticky .lang-switcher .lang-current,
.header-navigation.sticky .lang-switcher .lang-current {
    color: #fff !important;
}

.navigation-white.sticky .lang-switcher .lang-current:hover,
.header-navigation.sticky .lang-switcher .lang-current:hover {
    background: rgba(255,255,255,0.12);
}

.lang-switcher .lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 12px 36px rgba(0,0,0,0.14);
    min-width: 180px;
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    list-style: none;
    margin: 0;
}

.lang-switcher:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-switcher .lang-dropdown li {
    list-style: none;
    margin: 0 !important;
    padding: 0 !important;
}

.lang-switcher .lang-dropdown li a {
    display: flex !important;
    align-items: center !important;
    padding: 8px 18px !important;
    color: #555 !important;
    font-size: 14px !important;
    transition: all 0.2s;
    text-decoration: none !important;
    white-space: nowrap;
    margin: 0 !important;
}

.lang-switcher .lang-dropdown li a:hover {
    background: #f5f8ff !important;
    color: #4a6cf7 !important;
}

.lang-switcher .lang-dropdown li a.active {
    background: #f0f4ff !important;
    color: #4a6cf7 !important;
    font-weight: 600;
}

.lang-switcher .lang-dropdown li a .lang-check {
    margin-left: auto;
    font-size: 11px;
    color: #4a6cf7;
    padding-left: 12px;
}

/* ===== Logo Size ===== */
.site-branding .brand-logo img {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.footer-area .site-branding .brand-logo img,
.footer-area .site-branding a img,
.footer-area .about-widget .site-branding img {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.sidebar-logo .brand-logo img {
    height: 32px;
    width: auto;
    object-fit: contain;
}

/* ===== Hero ===== */
.hero-area .hero-img img {
    border-radius: 12px;
}
.hero-img {
    display: flex;
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中（如有高度约束时） */
    width: 100%;
}

    .hero-img img {
        max-width: 100%;
        height: auto;
        display: block;
    }
.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* ===== Microsoft Store Badge ===== */
a.store-badge,
a.store-badge:link,
a.store-badge:visited {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px;
    background: #000 !important;
    color: #fff !important;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    text-decoration: none !important;
    border: none;
    line-height: 1.4;
}

a.store-badge:hover {
    background: #1a1a1a !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
    color: #fff !important;
}

.store-badge .store-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.store-badge .store-icon svg {
    width: 20px;
    height: 20px;
}

/* Direct download button */
a.download-direct,
a.download-direct:link,
a.download-direct:visited {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px;
    background: rgba(255,255,255,0.1) !important;
    color: #fff !important;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s;
    text-decoration: none !important;
    border: 2px solid rgba(255,255,255,0.5) !important;
}

a.download-direct:hover {
    background: rgba(255,255,255,0.2) !important;
    border-color: #fff !important;
    transform: translateY(-2px);
    color: #fff !important;
}

a.download-direct i {
    font-size: 16px;
}

/* ===== FAQ Accordion (BS4 compatible) ===== */
.faq-accordion .accordion-item {
    border: 1px solid #e8ecf5 !important;
    border-radius: 10px !important;
    margin-bottom: 16px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.3s, border-color 0.3s;
}

.faq-accordion .accordion-item:hover {
    border-color: #d0d8f0 !important;
    box-shadow: 0 4px 16px rgba(74, 108, 247, 0.06);
}

.faq-accordion button.accordion-button,
.faq-accordion .accordion-button {
    display: block !important;
    width: 100% !important;
    font-size: 17px !important;
    font-weight: 600 !important;
    color: #333 !important;
    padding: 22px 56px 22px 24px !important;
    background: #fff !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    cursor: pointer;
    text-align: left !important;
    transition: background 0.3s, color 0.3s;
    position: relative;
    line-height: 1.5;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    margin: 0 !important;
    border-radius: 0 !important;
}

.faq-accordion button.accordion-button:hover,
.faq-accordion .accordion-button:hover {
    background: #f8faff !important;
    color: #4a6cf7 !important;
}

.faq-accordion button.accordion-button:not(.collapsed),
.faq-accordion .accordion-button:not(.collapsed) {
    background: #f0f4ff !important;
    color: #4a6cf7 !important;
}

.faq-accordion button.accordion-button:focus,
.faq-accordion .accordion-button:focus {
    outline: none !important;
    box-shadow: none !important;
}

.faq-accordion button.accordion-button::after,
.faq-accordion .accordion-button::after {
    content: "\f107" !important;
    font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    font-size: 14px !important;
    color: #aaa;
    transition: transform 0.35s ease, color 0.3s;
    position: absolute !important;
    right: 22px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50%;
    background: #f0f2f5 !important;
    background-image: none !important;
    border: none !important;
}

.faq-accordion button.accordion-button:not(.collapsed)::after,
.faq-accordion .accordion-button:not(.collapsed)::after {
    transform: translateY(-50%) rotate(180deg);
    color: #4a6cf7;
    background: rgba(74, 108, 247, 0.1) !important;
}

.faq-accordion .accordion-collapse {
    transition: height 0.35s ease;
}

.faq-accordion .accordion-body {
    padding: 0 24px 22px;
    color: #666;
    line-height: 1.85;
    font-size: 15px;
    border-top: 1px solid #eef1f8;
    padding-top: 16px;
}

/* ===== Platforms Grid ===== */
.platform-card {
    background: #fff;
    border-radius: 12px;
    padding: 28px 20px;
    text-align: center;
    border: 1px solid #eef1f8;
    transition: all 0.3s;
    height: 100%;
}

.platform-card:hover {
    border-color: #d0d8f0;
    box-shadow: 0 8px 28px rgba(0,0,0,0.06);
    transform: translateY(-4px);
}

.platform-card .platform-icon {
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 24px;
    margin-bottom: 14px;
}

.platform-card .platform-icon svg {
    width: 24px;
    height: 24px;
}

.platform-card h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #1a1a2e;
}

.platform-card p {
    font-size: 13px;
    color: #777;
    margin: 0;
    line-height: 1.5;
}

.platform-icon.youtube { background: #fee2e2; color: #dc2626; }
.platform-icon.facebook { background: #dbeafe; color: #1877f2; }
.platform-icon.tiktok { background: #f3f4f6; color: #010101; }
.platform-icon.instagram { background: #fce7f3; color: #e1306c; }
.platform-icon.twitter { background: #e0f2fe; color: #1da1f2; }
.platform-icon.vimeo { background: #dbeafe; color: #1ab7ea; }
.platform-icon.twitch { background: #ede9fe; color: #9146ff; }
.platform-icon.dailymotion { background: #e0f2fe; color: #0066dc; }
.platform-icon.reddit { background: #fee2e2; color: #ff4500; }
.platform-icon.bilibili { background: #dbeafe; color: #00a1d6; }
.platform-icon.ted { background: #fee2e2; color: #e62b1e; }
.platform-icon.more-platforms { background: #f0f4ff; color: #4a6cf7; }

.platform-more-card {
    background: linear-gradient(135deg, #f0f4ff 0%, #e8ecff 100%);
    border: 2px dashed #c5d0f0;
}

.platform-more-card:hover {
    border-color: #4a6cf7;
    background: linear-gradient(135deg, #e8ecff 0%, #dde3ff 100%);
}

.platform-more-card .platform-icon {
    background: rgba(74, 108, 247, 0.12);
    color: #4a6cf7;
}

/* ===== Pricing Grid Layout ===== */
.pricing-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.pricing-card-col {
    flex: 1 1 0;
    min-width: 0;
    max-width: 320px;
}

.pricing-card-col .pricing-item {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pricing-card-col .pricing-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pricing-card-col .pricing-body .main-btn {
    margin-top: auto;
}

@media (min-width: 992px) {
    .pricing-count-2 .pricing-card-col { flex: 0 0 calc(50% - 12px); max-width: 380px; }
    .pricing-count-3 .pricing-card-col { flex: 0 0 calc(33.333% - 16px); }
    .pricing-count-4 .pricing-card-col { flex: 0 0 calc(25% - 18px); }
    .pricing-count-5 .pricing-card-col { flex: 0 0 calc(33.333% - 16px); }
    .pricing-count-6 .pricing-card-col { flex: 0 0 calc(33.333% - 16px); }
    .pricing-count-7 .pricing-card-col { flex: 0 0 calc(25% - 18px); }
}

@media (min-width: 768px) and (max-width: 991px) {
    .pricing-card-col { flex: 0 0 calc(50% - 12px); max-width: none; }
}

@media (max-width: 767px) {
    .pricing-card-col { flex: 0 0 100%; max-width: none; }
    .pricing-grid { gap: 16px; }
}

/* ===== Pricing Hot Badge ===== */
.pricing-item.pricing-hot {
    position: relative;
    border: 2px solid #4a6cf7;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(74, 108, 247, 0.15);
}

.pricing-hot-badge {
    position: absolute;
    top: 16px;
    right: -32px;
    background: linear-gradient(135deg, #ff6b35, #f7274a);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 5px 40px;
    transform: rotate(45deg);
    z-index: 2;
    box-shadow: 0 2px 8px rgba(247, 39, 74, 0.35);
    text-align: center;
    line-height: 1;
}

.pricing-item .pricing-body .check-list-one li.uncheck:before {
    content: "\f00d" !important;
    background-color: rgba(220, 53, 69, 0.1) !important;
    color: #dc3545 !important;
}

/* ===== Footer ===== */
.footer-nav li a {
    transition: color 0.2s, padding-left 0.2s;
}

.footer-nav li a:hover {
    padding-left: 4px;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
    .lang-switcher .lang-dropdown {
        right: auto;
        left: 0;
    }
}

@media (max-width: 767px) {
    .lang-switcher .lang-dropdown {
        right: auto;
        left: 0;
    }
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    .faq-accordion button.accordion-button,
    .faq-accordion .accordion-button {
        font-size: 15px !important;
        padding: 16px 48px 16px 18px !important;
    }
    .faq-accordion .accordion-body {
        padding: 0 18px 18px;
        font-size: 14px;
    }
    .platform-card {
        padding: 20px 16px;
    }
}
