* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px !important;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    background-color: #ffffff;
    color: #212529;
    font-size: 16px !important;
}

@media (min-width: 768px) {

    html,
    body {
        font-size: 16px !important;
    }
}

@media (min-width: 992px) {

    html,
    body {
        font-size: 16px !important;
    }
}

@media (min-width: 1200px) {

    html,
    body {
        font-size: 16px !important;
    }
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
}

h1 {
    font-size: 1.5rem !important;
}

h2 {
    font-size: 1.5rem !important;
}

h3 {
    font-size: 1rem !important;
}

p {
    font-size: 0.9rem !important;
}

@media (min-width: 768px) {

    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    p {
        font-size: inherit !important;
    }

    h1 {
        font-size: 1.5rem !important;
    }

    h2 {
        font-size: 1.5rem !important;
    }

    h3 {
        font-size: 1rem !important;
    }

    p {
        font-size: 0.9rem !important;
    }
}

/* 顶部整屏背景区域 - 轮播图 */
.hero-section {
    width: 100%;
    min-height: 100vh;
    position: relative;
    color: #fff;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.hero-carousel {
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    overflow: hidden;
    background-color: #000;
}

.hero-slides-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.hero-slide {
    min-width: 100%;
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.75));
    z-index: 1;
}

.hero-dots-container {
    position: relative;
    z-index: 11;
    pointer-events: none;
}

.swiper-dots {
    pointer-events: auto;
}

.hero-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

header {
    width: 100%;
    margin: 0;
    padding: 0;
}

@media (min-width: 768px) {
    header {
        padding-top: 1.5rem !important;
        padding-bottom: 1rem !important;
    }
}

.logo-text {
    font-weight: 700;
    letter-spacing: 0.03em;
    display: inline-flex;
    align-items: center;
}

.logo-text img {
    height: 1.5em;
    width: auto;
    display: block;
}

.brand-icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: #F8809C;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .brand-icon {
        width: 48px;
        height: 48px;
        margin-right: 12px;
    }
}

.brand-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 主标题响应式 */
.hero-title {
    font-size: 1.5rem !important;
    /* 强制覆盖Bootstrap样式 */
    line-height: 1.4;
}

.hero-subtitle {
    font-size: 0.9rem !important;
    line-height: 1.7;
    max-width: 18rem;
    color: #FFFFFFCC;
}

.hero-subtitle p {
    margin: 0;
    color: #FFFFFFCC;
}

/* PC端优化 - 调整字体大小和最大宽度 */
@media (min-width: 768px) {
    .hero-title {
        font-size: 2.5rem !important;
    }

    .hero-subtitle {
        font-size: 1.5rem !important;
        max-width: 28rem;
    }
}

@media (min-width: 992px) {
    .hero-title {
        font-size: 3rem !important;
    }

    .hero-subtitle {
        font-size: 1.75rem !important;
        max-width: 36rem;
    }
}

.download-btn {
    background-color: #F8809C;
    border-color: #F8809C;
    padding: 0.6rem 2.4rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem !important;
    /* 强制设置按钮字体大小 */
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
}

.download-btn:hover {
    background-color: #F8809C;
    border-color: #F8809C;
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .download-btn {
        padding: 0.6rem 2.4rem;
    }
}

/* 二维码区域美化（仅 PC 端展示） */
#qrSection {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 16px;
    padding: 0.9rem 1.1rem;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

#qrcode {
    background: #ffffff;
    padding: 0.65rem;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#qrcode canvas {
    border-radius: 10px;
}

#qrSection .text-white-50 {
    color: rgba(255, 255, 255, 0.8) !important;
}

.swiper-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.swiper-dot {
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.swiper-dot:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

.swiper-dot-active {
    width: 16px;
    background-color: #ffffff;
}

/* 内容区样式 */
main {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

section {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Bootstrap容器响应式覆盖 */
.container {
    width: 100%;
    max-width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    margin: 0 auto;
}

/* Bootstrap响应式断点 */
@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
}

.section-title {
    font-weight: 700;
    font-size: 1.5rem !important;
    /* 强制覆盖Bootstrap样式 */
}


.muted-text {
    color: #ABA9AA;
    font-size: 0.9rem !important;
    margin-top: 20px;
    /* 强制覆盖Bootstrap样式 */
}

.feature-icon {
    width: auto;
    height: auto;
    min-width: auto;
    border-radius: 0;
    background-color: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    flex-shrink: 0;
    overflow: visible;
}

.feature-icon img {
    width: auto;
    height: 28px;
    object-fit: contain;
    padding: 0;
    display: block;
}

@media (min-width: 768px) {
    .feature-icon {
        margin-right: 0;
    }

    .feature-icon img {
        height: 32px;
    }
}

.feature-block+.feature-block {
    margin-top: 2.2rem;
}

@media (min-width: 768px) {
    .feature-block+.feature-block {
        margin-top: 2.5rem;
    }
}

@media (min-width: 992px) {
    .feature-block {
        padding-right: 2rem;
    }
}

.feature-title {
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.feature-text {
    font-size: 0.9rem !important;
    margin-top: 15px;
    /* 强制覆盖Bootstrap样式 */
    color: #ABA9AA;
    line-height: 1.6;
}


.app-card {
    border-radius: 26px;
    /* overflow: hidden; */
    padding: 0;
    background: transparent;
}

.app-card-inner {
    border-radius: 22px;
    background: transparent;
    height: 350px;
    /* overflow: hidden; */
    position: relative;
}

.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    display: block;
    transform: scale(1.6);
    transform-origin: center bottom;
    margin-left: 50px;
}

@media (min-width: 768px) {
    .app-card {
        padding: 0;
        /* height: 580px; */
    }

    .app-card-inner {
        height: 380px;
    }

    .app-screenshot {
        transform: scale(1.3);
    }
}

@media (min-width: 992px) {
    .app-card-inner {
        padding-top: 140px;
        height: 550px;
    }

    .app-screenshot {
        transform: scale(1.4);
    }
}

.phone-frame {
    border-radius: 32px;
    padding: 0;
    box-shadow: none;
    background: transparent;
    width: 100%;
    max-width: 210px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .phone-frame {
        max-width: 260px;
    }
}

@media (min-width: 992px) {
    .phone-frame {
        max-width: 300px;
    }
}

.phone-screen {
    border-radius: 24px;
    background: transparent;
    height: 340px;
    overflow: hidden;
    position: relative;
}

.phone-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    border-radius: 24px;
}

@media (min-width: 768px) {
    .phone-screen {
        height: 420px;
    }
}

@media (min-width: 992px) {
    .phone-screen {
        height: 500px;
    }
}

/* 页脚 */
.footer {
    width: 100%;
    background-color: #050505;
    color: #dddddd;
    margin: 0;
    padding: 0;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    font-size: 1.35rem;
    line-height: 1.25;
    letter-spacing: 0.02em;
}

.footer-links a:hover {
    color: rgba(255, 255, 255, 0.95);
}

.footer-divider {
    height: 1px;
    width: 100%;
    background: rgba(255, 255, 255, 0.15);
    margin: 28px 0 22px;
}

.footer-handle {
    color: rgba(255, 255, 255, 0.28);
    font-size: 1.15rem;
    letter-spacing: 0.02em;
}

.footer-logo {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(180deg, #ff4fb0 0%, #ff78ad 55%, #ff9bd0 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 22px;
    box-shadow: 0 12px 28px rgba(255, 79, 176, 0.28);
    overflow: hidden;
}

.footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 575.98px) {
    .footer-links a {
        font-size: 1.2rem;
    }

    .footer-logo {
        width: 52px;
        height: 52px;
        border-radius: 15px;
    }
}