/* ===== 全局重置与基础样式 ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*
 * 弹性根字号（rem 适配核心）：
 * 以 1300px 设计稿为基准，1rem = 10px（即 100vw / 130）
 * 视口 >= 1300px 时封顶 10px，<= 1040px 时保底 8px，中间随视口平滑缩放
 */
html {
    scroll-behavior: smooth;
    font-size: calc(100vw / 180);
    /* font-size : clamp ( 8px , calc(100vw / 180) ); */
}

/* 锚点偏移补偿固定导航栏高度 */
section[id],
footer {
    scroll-margin-top: 7rem;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f8fc;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: calc(100% - 4rem);
    max-width: 122rem;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ===== 配色变量 ===== */
:root {
    --primary-dark: #0a1f3d;
    --primary-purple: #0d2f5f;
    --secondary-purple: #0055cc;
    --accent-pink: #0068ff;
    --accent-pink-hover: #0055cc;
    --accent-gold: #ffd700;
    --white: #ffffff;
    --light-gray: #f4f4f8;
    --medium-gray: #888;
    --dark-text: #001f4d;
}

/* ===== 导航栏 ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: background 0.3s ease, padding 0.3s ease;
    padding: 2rem 0;
}

/* 滚动后添加背景 */
.navbar.scrolled {
    background: rgba(0, 0, 0, 0.8);
    padding: 1.5rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 汉堡按钮（桌面端隐藏） */
.nav-toggle {
    display: none;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 4rem;
    width: auto;
    display: block;
}

.footer-logo .logo-img {
    height: 4.8rem;
}

.nav-links {
    display: flex;
    gap: 6rem;
    margin-left: auto;
}

.nav-links a {
    color: var(--white);
    font-weight: 500;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-pink);
}

.nav-links a.active {
    color: var(--accent-pink);
    position: relative;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -0.6rem;
    left: 0;
    width: 100%;
    height: 0.2rem;
    background: var(--accent-pink);
    border-radius: 0.2rem;
    animation: underlineIn 0.3s ease;
}

@keyframes underlineIn {
    from { width: 0; }
    to   { width: 100%; }
}

/* ===== Hero 区域 ===== */
.hero {
    position: relative;
    min-height: 100vh;
    background: url('images/banner.png') center center / cover no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 8rem;
}
.hero-img{
    width: 100%;
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
}
.hero-container {
    display: flex;
    align-items: center;
    gap: 6rem;
    position: relative;
    z-index: 2;
    top: -10rem;
}

.hero-content {
    flex: 1;
    color: var(--white);
    max-width: 68rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #222;
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: #222;
}

.hero-description {
    font-size: 2rem;
    color: #222;
    margin-bottom: 3rem;
}

.input-group {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1.2rem;
    padding: 0.6rem 0.6rem 0.6rem 1.6rem;
    max-width: 45rem;
}

.phone-prefix {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.4rem;
    margin-right: 1rem;
    white-space: nowrap;
}

.input-group input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--white);
    padding: 1rem;
    font-size: 1.5rem;
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.btn-download-main {
    background: var(--accent-pink);
    color: var(--white);
    border: none;
    padding: 1.2rem 2.4rem;
    border-radius: 5rem;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    min-width: 16rem;
}

.btn-download-main:hover {
    background: var(--accent-pink-hover);
    transform: scale(1.02);
}

.hero-badges {
    display: flex;
    gap: 2.4rem;
    margin-top: 2.5rem;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.4rem;
}

.badge-icon {
    font-size: 1.6rem;
}

/* ===== 通用按钮 ===== */
.btn-primary {
    display: inline-block;
    background: var(--accent-pink);
    color: var(--white);
    padding: 1.4rem 3.2rem;
    border-radius: 3rem;
    font-weight: 600;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 0.4rem 1.5rem rgba(0, 104, 255, 0.35);
}

.btn-primary:hover {
    background: var(--accent-pink-hover);
    transform: translateY(-0.2rem);
    box-shadow: 0 0.6rem 2rem rgba(0, 104, 255, 0.45);
}

/* ===== 通用标题 ===== */
.section-title {
    font-size: 3.4rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 2rem;
    line-height: 1.3;
}

.section-title.center {
    text-align: center;
    margin-bottom: 1.5rem;
}

.highlight-pink {
    color: var(--accent-pink);
}

.section-subtitle {
    font-size: 1.6rem;
    color: var(--medium-gray);
}

.section-subtitle.center {
    text-align: center;
    margin-bottom: 5rem;
}

.section-text {
    font-size: 1.5rem;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

/* ===== 关于区域 ===== */
.about {
    padding: 10rem 0;
    background: var(--white);
}

.about-container {
    display: flex;
    align-items: center;
    gap: 8rem;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-content {
    flex: 1;
}

/* 手机 Mockup */
.phone-mockup {
    display: flex;
    justify-content: center;
    position: relative;
}

.phone-frame {
    width: 28rem;
    height: 56rem;
    background: linear-gradient(145deg, #0d1a33, #1a2a4a);
    border-radius: 4rem;
    padding: 1.2rem;
    box-shadow: 0 2.5rem 6rem rgba(0, 0, 0, 0.25), 0 0 0 0.6rem #051020, 0 0 0 0.8rem #001f4d;
    position: relative;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 8rem;
    height: 2.2rem;
    background: #051020;
    border-radius: 1.5rem;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #0d2f5f 0%, #0a1f3d 100%);
    border-radius: 3rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.phone-screen-app {
    padding-top: 2.5rem;
    color: white;
}

.app-header {
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.app-logo-small {
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--accent-pink);
}

.app-nav {
    display: flex;
    gap: 1.2rem;
    font-size: 1.4rem;
}

.app-banner {
    margin: 1rem 1.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, var(--accent-pink), #3d8bff);
    border-radius: 1.2rem;
    color: white;
    font-weight: 700;
    font-size: 1.6rem;
    text-align: center;
}

.app-matches {
    padding: 0 1.5rem;
    flex: 1;
}

.match-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 1rem;
    padding: 1.2rem;
    margin-bottom: 1rem;
}

.team-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.3rem;
}

.vs {
    color: var(--accent-pink);
    font-weight: 700;
    font-size: 1.2rem;
}

.match-info {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0.8rem 0;
}

.join-btn-small {
    width: 100%;
    background: var(--accent-pink);
    color: white;
    border: none;
    padding: 0.6rem;
    border-radius: 0.6rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
}

/* 装饰圆圈 */
.deco-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
}

.deco-1 {
    width: 15rem;
    height: 15rem;
    background: var(--accent-pink);
    top: -2rem;
    right: 2rem;
}

.deco-2 {
    width: 8rem;
    height: 8rem;
    background: var(--accent-gold);
    bottom: 5rem;
    left: 4rem;
}

/* ===== 步骤区域 ===== */
.steps {
    padding: 10rem 0;
    background: var(--light-gray);
}

/* 功能模块纵向排列 */
.feature-rows {
    margin-top: 5rem;
    display: flex;
    flex-direction: column;
    gap: 12rem;
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 8rem;
}

.feature-row-reverse .feature-row-text {
    order: 2;
}

.feature-row-reverse .feature-row-img {
    order: 1;
}

.feature-row-text {
    flex: 1;
}

.feature-row-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 1.6rem;
}

.feature-row-desc {
    font-size: 1.5rem;
    color: #555;
    line-height: 1.8;
}

.feature-row-img {
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
    height: 44rem;
    /* border-radius: 20px; */
    overflow: hidden;
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); */
}

.feature-row-img img {
    /* width: 100%; */
    /* height: 100%; */
    object-fit: cover;
    display: block;
}

/* 桌面端各配图宽度 */
.feature-row-img-1 img {
    width: 44rem;
}

.feature-row-img-3 img,
.feature-row-img-4 img {
    width: 40rem;
}

/* .feature-row-img-1 {
    background: linear-gradient(135deg, #0068ff 20%, #cce4ff 100%);
}

.feature-row-img-2 {
    background: linear-gradient(135deg, #0055cc 20%, #99ccff 100%);
}

.feature-row-img-3 {
    background: linear-gradient(135deg, #ffd700 20%, #fff59d 100%);
}

.feature-row-img-4 {
    background: linear-gradient(135deg, #3d8bff 20%, #0068ff 100%);
} */

/* ===== 下载应用区域 ===== */
.download-app {
    position: relative;
    padding: 10rem 0;
    overflow: hidden;
}

.download-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0a1f3d 0%, #0d2f5f 100%);
}

.download-container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8rem;
}

.download-content {
    flex: 1;
    color: var(--white);
}

.download-title {
    font-size: 3.6rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.download-subtitle {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    max-width: 42rem;
}

.download-buttons {
    display: flex;
    gap: 1.5rem;
}

.btn-apple,
.btn-google {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: var(--white);
    color: var(--primary-dark);
    padding: 1.2rem 2.4rem;
    border-radius: 1.2rem;
    transition: all 0.3s ease;
}

.btn-apple:hover,
.btn-google:hover {
    transform: translateY(-0.2rem);
    box-shadow: 0 0.8rem 2.5rem rgba(0, 0, 0, 0.3);
}

.btn-apple-icon,
.btn-google-icon {
    font-size: 2.8rem;
}

.btn-apple-text,
.btn-google-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.btn-apple-text small,
.btn-google-text small {
    font-size: 1rem;
    color: var(--medium-gray);
}

.btn-apple-text strong,
.btn-google-text strong {
    font-size: 1.5rem;
    font-weight: 700;
}

.download-phone {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.phone-big {
    width: 32rem;
    height: 64rem;
    background: linear-gradient(145deg, #0d1a33, #1a2a4a);
    border-radius: 4.5rem;
    padding: 1.4rem;
    box-shadow: 0 3rem 7rem rgba(0, 0, 0, 0.4), 0 0 0 0.7rem #051020, 0 0 0 0.9rem #001f4d;
}

.phone-big::before {
    content: '';
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 9rem;
    height: 2.5rem;
    background: #051020;
    border-radius: 1.5rem;
    z-index: 10;
}

.phone-big-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #0d2f5f 0%, #0a1f3d 100%);
    border-radius: 3.2rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 2.5rem 1.8rem;
    color: white;
}

.phone-big-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.phone-big-logo {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-pink);
}

.phone-big-content {
    flex: 1;
}

.big-banner {
    background: linear-gradient(135deg, var(--accent-pink), #3d8bff);
    padding: 3rem 2rem;
    border-radius: 1.5rem;
    text-align: center;
    font-weight: 800;
    font-size: 1.8rem;
    margin-bottom: 2.5rem;
}

.big-stats {
    display: flex;
    gap: 1.5rem;
}

.stat {
    flex: 1;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 1.2rem;
    padding: 2rem 1.5rem;
    text-align: center;
}

.stat-val {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.stat-lbl {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
}

.player-art {
    position: absolute;
    width: 12rem;
    height: 12rem;
    font-size: 8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 1rem 2rem rgba(0, 0, 0, 0.3));
}

.player-1 {
    top: 20%;
    left: -2rem;
    transform: rotate(-15deg);
}

.player-2 {
    bottom: 20%;
    right: -2rem;
    transform: rotate(15deg);
}

/* ===== 功能区域 ===== */
.features {
    padding: 10rem 0;
    background: var(--white);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 5rem;
}

.feature-card {
    text-align: center;
    padding: 2rem;
}

.feature-phone {
    display: flex;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.feature-screen {
    width: 22rem;
    height: 42rem;
    background: linear-gradient(180deg, #0d2f5f 0%, #0a1f3d 100%);
    border-radius: 2.5rem;
    padding: 4rem 1.8rem 2rem;
    color: white;
    box-shadow: 0 2rem 5rem rgba(45, 27, 78, 0.3);
    position: relative;
}

.feature-screen::before {
    content: '';
    position: absolute;
    top: 1.2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 6rem;
    height: 1.6rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 1rem;
}

.feature-header {
    background: linear-gradient(135deg, var(--accent-pink), #3d8bff);
    padding: 1rem;
    border-radius: 0.8rem;
    text-align: center;
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    background: rgba(255, 255, 255, 0.08);
    padding: 1rem 1.2rem;
    border-radius: 0.8rem;
    font-size: 1.2rem;
    text-align: left;
}

.feature-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-dark);
}

/* ===== CTA 下载 ===== */
.cta-download {
    padding: 10rem 0;
    /* background: linear-gradient(135deg, #f8f8fc 0%, #e9e9f5 100%); */
    text-align: center;
}

.cta-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.cta-desc {
    font-size: 1.6rem;
    color: var(--medium-gray);
    margin-bottom: 3rem;
}

.cta-buttons {
    margin-bottom: 5rem;
}

.cta-phone-row {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
}

.cta-phone {
    width: 8rem;
    height: 16rem;
    background: linear-gradient(145deg, #0d1a33, #1a2a4a);
    border-radius: 1.8rem;
    padding: 0.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.cta-phone:hover {
    transform: translateY(-0.5rem);
}

.cta-phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-purple), var(--primary-dark));
    border-radius: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.6rem;
}

/* ===== 用户评价 ===== */
.testimonials {
    padding: 10rem 0;
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 5rem;
}

.testimonial-card {
    background: var(--light-gray);
    padding: 3.5rem;
    border-radius: 2rem;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.1);
}

.testimonial-stars {
    color: var(--accent-gold);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.5rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.author-avatar {
    width: 5rem;
    height: 5rem;
    background: linear-gradient(135deg, var(--accent-pink), #3d8bff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    font-size: 1.5rem;
    color: var(--primary-dark);
}

.author-info span {
    font-size: 1.2rem;
    color: var(--accent-pink);
}

/* ===== Footer ===== */
.footer {
    background: var(--primary-dark);
    background: url('images/foot.png');
    background-size: cover;
    padding: 7rem 0 3rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-container {
    max-width: 130rem;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr;
    gap: 4rem;
    margin-bottom: 5rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-desc {
    font-size: 1.4rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    max-width: 38rem;
}

.footer-heading {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 2rem;
}

.footer-contact {
    font-size: 1.4rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
}

.footer-links li {
    margin-bottom: 1.2rem;
}

.footer-links a {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-pink);
}

.social-icons {
    display: flex;
    gap: 1.2rem;
}

.social-icon {
    width: 4rem;
    height: 4rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--accent-pink);
    transform: translateY(-0.3rem);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2.5rem;
    text-align: center;
}

.footer-bottom p {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-note {
    margin-top: 0.8rem;
    color: rgba(255, 255, 255, 0.3);
}

/* ===== 响应式 ===== */
/* @media (max-width: 1024px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
        padding-top: 12rem;
        padding-bottom: 6rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-title {
        font-size: 3.6rem;
    }

    .input-group {
        margin: 0 auto;
    }

    .hero-badges {
        justify-content: center;
    }

    .about-container {
        flex-direction: column;
        gap: 5rem;
    }

    .feature-row {
        flex-direction: column;
        gap: 3rem;
    }

    .feature-row-reverse .feature-row-text {
        order: 1;
    }

    .feature-row-reverse .feature-row-img {
        order: 2;
    }

    .feature-row-img {
        width: 100%;
        height: 26rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .download-container {
        flex-direction: column;
        text-align: center;
    }

    .download-buttons {
        justify-content: center;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
} */
@media (max-width: 1024px) {
    .hero-content {
        max-width: 38rem;
    }
    .footer-desc {
        max-width: 100%;
    }
}
@media (max-width: 768px) {
    html {
        font-size: 16px;
    }
    .navbar{
        padding: 1rem 0 !important;
    }

    /* 显示汉堡按钮 */
    .nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 0.2rem;
        width: 3rem;
        height: 3rem;
        padding: 0.5rem;
        background: transparent;
        border: none;
        cursor: pointer;
        z-index: 1001;
    }

    .nav-toggle .bar {
        display: block;
        width: 100%;
        height: 0.3rem;
        background: var(--white);
        border-radius: 0.2rem;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    /* 菜单打开时三条线变成 X */
    .navbar.open .nav-toggle .bar:nth-child(1) {
        transform: translateY(0.5rem) rotate(45deg);
    }

    .navbar.open .nav-toggle .bar:nth-child(2) {
        opacity: 0;
    }

    .navbar.open .nav-toggle .bar:nth-child(3) {
        transform: translateY(-0.5rem) rotate(-45deg);
    }

    /* 展开时导航栏加深色背景，保证菜单可读 */
    .navbar.open {
        background: rgba(0, 0, 0, 0.9);
    }
    .nav-container{
        padding: 0;
        width: calc(100% - 2rem);
    }
    /* 横向菜单改为下拉面板 */
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin-left: 0;
        flex-direction: column;
        gap: 0;
        background: rgba(0, 0, 0, 0.9);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .navbar.open .nav-links {
        max-height: 32rem;
    }

    .nav-links a {
        display: block;
        padding: 1.5rem 2rem;
        text-align: center;
    }

    .nav-links a.active::after {
        display: none;
    }
    .hero{
        padding-top: 20rem;
        background-position: top left;
    }
    .hero-container{
        padding:0;
    }
    .hero-subtitle {
        margin-bottom: 1rem;
    }
    .hero-title {
        margin-bottom: 3rem;
        font-size: 2rem;
    }
    .hero-description{
        font-size: 1.2rem;
    }
    .btn-primary{
        padding: 1.2rem 2.6rem;
        font-size: 1.2rem;
    }
    .input-group {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1rem;
    }

    .btn-download-main {
        width: 100%;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .download-buttons {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .phone-big {
        width: 26rem;
        height: 52rem;
    }
    .container{
        padding: 0;
    }
    /* ===== 关于区域 ===== */
    .about {
        padding: 6rem 0;
    }

    .about-container {
        flex-direction: column;
        gap: 4rem;
    }

    .about-image,
    .about-content {
        width: 100%;
        flex: none;
    }

    /* 装饰圆圈小屏隐藏，避免干扰和溢出 */
    .deco-circle {
        display: none;
    }

    /* ===== 功能展示区域 ===== */
    .steps {
        padding: 6rem 0;
    }

    .section-subtitle.center {
        margin-bottom: 1rem;
        font-size: 1.2rem;
    }

    .feature-rows {
        margin-top: 3rem;
        gap: 6rem;
    }

    .feature-row {
        flex-direction: column;
        gap: 2.5rem;
    }

    /* 反向行重置顺序：文字在上，图片在下 */
    .feature-row-reverse .feature-row-text,
    .feature-row-reverse .feature-row-img {
        order: 0;
    }

    .feature-row-text {
        width: 100%;
        flex: none;
    }

    .feature-row-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .feature-row-desc {
        font-size: 1.2rem;
    }

    /* 图片容器高度自适应，图片按容器宽度缩放 */
    .feature-row-img {
        width: 100%;
        flex: none;
        height: auto;
    }

    .feature-row-img img,
    .feature-row-img-1 img,
    .feature-row-img-3 img,
    .feature-row-img-4 img {
        width: 80%;
        height: auto;
    }

    /* ===== 立即下载区域 ===== */
    .cta-download {
        padding: 6rem 0;
    }

    .cta-title {
        font-size: 2.2rem;
    }

    .cta-desc {
        margin-bottom: 2.5rem;
        font-size: 1.2rem;
    }

    .cta-buttons {
        margin-bottom: 0;
    }
    .section-text{
        font-size: 1.2rem;
    }
}

