/* 重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #1d1d1f;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1d1d1f;
    letter-spacing: -0.5px;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: #1d1d1f;
    font-size: 0.95rem;
    font-weight: 400;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #6B8FBF;
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: #6B8FBF;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: #1d1d1f;
    transition: all 0.3s ease;
}

/* 英雄区 - 参考页面原型 */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: #6B8FBF;
    position: relative;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L30 60M0 30L60 30' stroke='rgba(255,255,255,0.06)' stroke-width='0.5' fill='none'/%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.hero-shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.08);
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.hero-shape-2 {
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.05);
    bottom: -50px;
    left: -80px;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(20px, -20px); }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.15) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-greeting {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0.5rem;
    font-weight: 400;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 0.1em;
}

.cta-button {
    display: inline-block;
    padding: 0.9rem 2rem;
    background-color: #ffffff;
    color: #6B8FBF;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.25);
}

.hero-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    justify-content: center;
}

/* 浮动卡片 - 参考 12. Personal Portfolio */
.hero-float-cards {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.float-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 1.25rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.float-card-1 { top: 18%; left: 8%; animation: floatCard 6s ease-in-out infinite; }
.float-card-2 { top: 25%; right: 12%; animation: floatCard 7s ease-in-out infinite 1s; }
.float-card-3 { bottom: 25%; right: 15%; animation: floatCard 5.5s ease-in-out infinite 0.5s; }

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.float-card-icon {
    font-size: 1.5rem;
}

.float-card-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1d1d1f;
}

.float-card-desc {
    font-size: 0.75rem;
    color: #86868b;
}

/* 滚动提示 */
.scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    z-index: 2;
    animation: bounceHint 2s ease-in-out infinite;
}

@keyframes bounceHint {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

.scroll-arrow {
    width: 16px;
    height: 16px;
    border-right: 2px solid rgba(255, 255, 255, 0.7);
    border-bottom: 2px solid rgba(255, 255, 255, 0.7);
    transform: rotate(45deg);
}

.hero-home .cta-button {
    padding: 0.9rem 2rem;
    font-size: 1rem;
}

.eyixiu-hero,
.about-hero {
    min-height: 50vh;
}

.eyixiu-hero {
    background: #6B8FBF;
}

.eyixiu-hero::before {
    background: radial-gradient(ellipse at 70% 80%, rgba(255,255,255,0.12) 0%, transparent 50%);
}

.hero-tagline {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    color: rgba(255, 255, 255, 0.9);
    margin-top: 0.8rem;
    letter-spacing: 0.1em;
}

/* e修易 - 产品价值 */
.eyixiu-intro {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.05rem;
}

.eyixiu-value-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem 3rem;
    margin-top: 2.5rem;
}

.eyixiu-value-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.eyixiu-value-num {
    font-size: 2.5rem;
    font-weight: 700;
    color: #6B8FBF;
    line-height: 1.2;
}

.eyixiu-value-label {
    font-size: 0.9rem;
    color: #86868b;
    margin-top: 0.3rem;
}

/* e修易 - 功能模块网格 */
.eyixiu-module-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.eyixiu-module-card {
    background: #fff;
    padding: 1.75rem;
    border-radius: 16px;
    border: 1px solid #e5e5e7;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.eyixiu-module-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: #6B8FBF;
}

.eyixiu-module-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.eyixiu-module-card h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #1d1d1f;
}

.eyixiu-module-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.eyixiu-module-list li {
    font-size: 0.9rem;
    color: #515154;
    padding: 0.35rem 0;
    padding-left: 1.2rem;
    position: relative;
    line-height: 1.5;
}

.eyixiu-module-list li::before {
    content: '·';
    position: absolute;
    left: 0;
    color: #6B8FBF;
    font-weight: bold;
}

/* e修易 - 应用场景 */
.eyixiu-scenario-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.eyixiu-scenario-card {
    background: #fff;
    padding: 1.75rem;
    border-radius: 16px;
    border: 1px solid #e5e5e7;
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.eyixiu-scenario-card:hover {
    transform: translateY(-2px);
    border-color: #6B8FBF;
}

.eyixiu-scenario-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.8rem;
    color: #1d1d1f;
}

.eyixiu-scenario-card p {
    font-size: 0.95rem;
    color: #515154;
    line-height: 1.65;
}

/* e修易 - 产品优势 */
.eyixiu-advantage-list {
    max-width: 700px;
    margin: 2rem auto 0;
}

.eyixiu-advantage-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e5e5e7;
}

.eyixiu-advantage-item:last-child {
    border-bottom: none;
}

.eyixiu-advantage-icon {
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #6B8FBF;
    color: #fff;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: bold;
}

.eyixiu-advantage-item div {
    font-size: 1rem;
    color: #1d1d1f;
    line-height: 1.7;
}

.eyixiu-advantage-item strong {
    color: #1d1d1f;
}

/* e修易 - 技术特性 */
.eyixiu-tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.eyixiu-tech-item {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid #e5e5e7;
}

.eyixiu-tech-item h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #6B8FBF;
}

.eyixiu-tech-item p {
    font-size: 0.9rem;
    color: #515154;
    line-height: 1.6;
}

.about-hero {
    background: #8B8AC4;
}

.about-hero::before {
    background: radial-gradient(ellipse at 70% 80%, rgba(255,255,255,0.12) 0%, transparent 50%);
}

.card-link {
    text-decoration: none;
    color: inherit;
}

.card-link:hover {
    color: inherit;
}

/* 首页模块预览 */
.intro-section {
    padding: clamp(4rem, 10vw, 7rem) 2rem;
}

.intro-section .section-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.intro-section .section-description {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.module-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.preview-card {
    display: block;
    padding: 2rem;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e5e7;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.preview-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    border-color: #6B8FBF;
}

.preview-card-img {
    width: calc(100% + 4rem);
    height: 180px;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
    margin: -2rem -2rem 1.5rem -2rem;
    background: #f5f5f7;
}

.preview-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.preview-card-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #6B8FBF 0%, #8B8AC4 100%);
}

.preview-card-img-placeholder .preview-icon {
    font-size: 4rem;
    margin: 0;
}

.preview-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.preview-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: #1d1d1f;
}

.preview-card p {
    font-size: 0.95rem;
    color: #86868b;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.preview-link {
    font-size: 0.9rem;
    color: #6B8FBF;
    font-weight: 500;
}

/* 产品优势列表 */
.advantage-list {
    list-style: none;
    padding: 0;
    max-width: 700px;
    margin: 2rem auto 0;
}

.advantage-list li {
    padding: 1rem 0;
    border-bottom: 1px solid #e5e5e7;
    color: #1d1d1f;
    line-height: 1.7;
}

.advantage-list li:last-child {
    border-bottom: none;
}

.advantage-list strong {
    color: #6B8FBF;
    margin-right: 0.5rem;
}

/* 训练原则 */
.principle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.principle-item {
    padding: 2rem;
    background: #f5f5f7;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.principle-item:hover {
    background: #e8e8ed;
}

.principle-num {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #6B8FBF;
    opacity: 0.6;
    margin-bottom: 0.5rem;
}

.principle-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #1d1d1f;
}

.principle-item p {
    font-size: 0.95rem;
    color: #86868b;
    line-height: 1.6;
}

/* 个人介绍子标题 */
.about-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1d1d1f;
    margin: 1.5rem 0 0.5rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    animation: bounce 2s infinite;
}

.arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid rgba(255, 255, 255, 0.8);
    border-bottom: 2px solid rgba(255, 255, 255, 0.8);
    transform: rotate(45deg);
}

/* 模块区块 - xxFantasy 主页 */
.module-section {
    padding: 0;
    max-width: 100%;
}

.module-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 80vh;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.module-block.fitness-block {
    grid-template-columns: 1fr 1fr;
}

.module-block.fitness-block .module-visual {
    order: -1;
}

.module-content {
    padding: 4rem;
}

.module-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.module-subtitle {
    font-size: 1.3rem;
    color: #6B8FBF;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.module-desc {
    font-size: 1.1rem;
    color: #86868b;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.module-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.module-feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background-color: #f5f5f7;
    border-radius: 50px;
    font-size: 0.95rem;
    color: #1d1d1f;
}

.feature-icon {
    font-size: 1.2rem;
}

.module-link {
    display: inline-block;
    color: #6B8FBF;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.module-link:hover {
    color: #5A7A9E;
}

.module-visual {
    min-height: 400px;
    background-size: cover;
    background-position: center;
}

.eyixiu-visual {
    background: #6B8FBF;
}

.fitness-visual {
    background: #6B9B7A;
}

.about-block {
    grid-template-columns: 1fr;
    background-color: #f5f5f7;
}

.about-block .module-content {
    max-width: 1200px;
    margin: 0 auto;
}

.fitness-detail {
    padding: 6rem 2rem;
    background-color: #ffffff;
}

.detail-actions {
    text-align: center;
    margin-top: 3rem;
}

.detail-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: #6B8FBF;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.detail-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(107, 143, 191, 0.4);
}

.fitness-hero {
    min-height: 50vh;
    background: #6B9B7A;
}

.fitness-hero::before {
    background: radial-gradient(ellipse at 70% 80%, rgba(255,255,255,0.12) 0%, transparent 50%);
}

.fitness-hero .hero-title {
    font-size: 3rem;
}

/* 区块样式 */
.feature-section {
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.alt-bg {
    background-color: #f5f5f7;
}

.section-content {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    letter-spacing: -1.5px;
    color: #1d1d1f;
}

.section-description {
    font-size: 1.3rem;
    text-align: center;
    color: #86868b;
    margin-bottom: 4rem;
    font-weight: 300;
}

/* 特性网格 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.feature-card-with-img .feature-card-img {
    width: 100%;
    height: 160px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.feature-card-with-img .feature-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1d1d1f;
}

.feature-card p {
    color: #86868b;
    line-height: 1.6;
}

/* 特性列表 */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    margin-top: 3rem;
}

.feature-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.feature-item.reverse {
    direction: rtl;
}

.feature-item.reverse > * {
    direction: ltr;
}

.feature-image {
    height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.feature-image:empty {
    background: #6B8FBF;
}

.feature-image.running {
    background: #6B8FBF;
}

.feature-image.cycling {
    background: #6B9B7A;
}

.feature-text h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #1d1d1f;
}

.feature-text p {
    font-size: 1.1rem;
    color: #86868b;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.feature-text ul {
    list-style: none;
    padding: 0;
}

.feature-text li {
    padding: 0.5rem 0;
    color: #1d1d1f;
    position: relative;
    padding-left: 1.5rem;
}

.feature-text li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #6B8FBF;
    font-weight: bold;
}

/* 营养网格 */
.nutrition-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.nutrition-card {
    background-color: #ffffff;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e5e5e7;
}

.nutrition-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-color: #6B8FBF;
}

.nutrition-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.nutrition-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #1d1d1f;
}

.nutrition-card p {
    color: #86868b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.nutrition-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #e5e5e7;
}

.nutrition-details span {
    color: #1d1d1f;
    font-size: 0.95rem;
    font-weight: 500;
}

/* 计划容器 */
.plans-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.plan-card {
    background-color: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e5e5e7;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.plan-card.featured {
    border: 2px solid #6B8FBF;
    transform: scale(1.05);
}

.plan-header {
    padding: 2rem 2rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #6B8FBF;
    color: #ffffff;
}

.plan-card.featured .plan-header {
    background: #6B9B7A;
}

.plan-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

.plan-badge {
    padding: 0.3rem 0.8rem;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.plan-badge.premium {
    background-color: #B8A078;
}

.plan-content {
    padding: 2rem;
}

.plan-duration {
    font-size: 1.1rem;
    color: #86868b;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.plan-features {
    list-style: none;
    margin-bottom: 2rem;
}

.plan-features li {
    padding: 0.8rem 0;
    color: #1d1d1f;
    position: relative;
    padding-left: 1.5rem;
    border-bottom: 1px solid #f5f5f7;
}

.plan-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #6B8FBF;
    font-weight: bold;
}

.plan-button {
    display: block;
    text-align: center;
    padding: 1rem;
    background-color: #6B8FBF;
    color: #ffffff;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.plan-button:hover {
    background-color: #5A7A9E;
    transform: translateY(-2px);
}

/* 动作库区块 */
.exercise-category {
    margin-bottom: 5rem;
}

.category-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #1d1d1f;
    text-align: left;
}

.exercise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.exercise-card {
    background-color: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #e5e5e7;
}

.exercise-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-color: #6B8FBF;
}

.exercise-header {
    padding: 1.5rem;
    background: #6B8FBF;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.exercise-header h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
}

.exercise-tag {
    padding: 0.3rem 0.8rem;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.exercise-body {
    padding: 2rem;
}

.exercise-steps,
.exercise-tips {
    margin-bottom: 1.5rem;
}

.exercise-steps h5,
.exercise-tips h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 0.8rem;
}

.exercise-steps ol {
    padding-left: 1.5rem;
    margin: 0;
}

.exercise-steps li {
    padding: 0.5rem 0;
    color: #1d1d1f;
    line-height: 1.6;
}

.exercise-tips ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.exercise-tips li {
    padding: 0.5rem 0;
    color: #1d1d1f;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.6;
}

.exercise-tips li::before {
    content: '⚠';
    position: absolute;
    left: 0;
    color: #B8A078;
    font-weight: bold;
}

.exercise-reps {
    padding-top: 1.5rem;
    border-top: 1px solid #e5e5e7;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.exercise-reps strong {
    color: #1d1d1f;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.exercise-reps span {
    color: #6B8FBF;
    font-size: 0.95rem;
    font-weight: 500;
}

/* 关于区块 */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 2rem;
}

.about-text p {
    font-size: 1.1rem;
    color: #86868b;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-link {
    padding: 0.8rem 1.5rem;
    background-color: #f5f5f7;
    color: #1d1d1f;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: #6B8FBF;
    color: #ffffff;
    transform: translateY(-2px);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background-color: #f5f5f7;
    border-radius: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #6B8FBF;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #86868b;
}

/* 页脚 */
.footer {
    background-color: #1d1d1f;
    color: #f5f5f7;
    padding: 3rem 2rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer p {
    color: #86868b;
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.footer-stats {
    font-size: 0.85rem;
    opacity: 0.9;
}

.footer-stats-divider {
    margin: 0 0.5rem;
    opacity: 0.6;
}

.footer a {
    color: #86868b;
    text-decoration: none;
}

.footer a:hover {
    color: #f5f5f7;
}

/* 动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 交错动画延迟 */
.preview-card.fade-in {
    transition-delay: calc(var(--delay, 0) * 0.15s);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 1rem 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .hero-float-cards {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .section-description {
        font-size: 1.1rem;
    }

    .feature-item {
        grid-template-columns: 1fr;
    }

    .feature-item.reverse {
        direction: ltr;
    }

    .feature-image {
        height: 250px;
    }

    .eyixiu-value-row {
        gap: 1.5rem;
    }

    .eyixiu-value-num {
        font-size: 2rem;
    }

    .eyixiu-module-grid {
        grid-template-columns: 1fr;
    }

    .eyixiu-scenario-grid {
        grid-template-columns: 1fr;
    }

    .eyixiu-tech-grid {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .plan-card.featured {
        transform: scale(1);
    }

    .feature-grid,
    .nutrition-grid,
    .plans-container,
    .exercise-grid {
        grid-template-columns: 1fr;
    }

    .exercise-grid {
        grid-template-columns: 1fr;
    }

    .category-title {
        font-size: 1.5rem;
        text-align: center;
    }

    .module-block {
        grid-template-columns: 1fr;
    }

    .module-block.fitness-block .module-visual {
        order: 0;
        min-height: 300px;
    }

    .module-content {
        padding: 2rem;
    }

    .module-title {
        font-size: 2rem;
    }

    .module-subtitle {
        font-size: 1.1rem;
    }

    .module-preview {
        grid-template-columns: 1fr;
    }

    .principle-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .feature-section {
        padding: 4rem 1rem;
    }

    .nav-container {
        padding: 1rem;
    }
}

/* ===== 科技热榜样式 ===== */
.hot-section {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    padding: 4rem 0;
}

.hot-section .section-title {
    color: #fff;
}

.hot-section .section-description {
    color: rgba(255, 255, 255, 0.7);
}

.hot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.hot-platform {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.hot-platform:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--platform-color, #007aff);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.hot-platform-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--platform-color, #007aff);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hot-platform-icon {
    font-size: 1.2rem;
}

.hot-items {
    list-style: none;
}

.hot-items li {
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hot-items li:last-child {
    border-bottom: none;
}

.hot-items a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    transition: all 0.2s ease;
}

.hot-items a:hover {
    color: #fff;
}

.hot-items a:hover .hot-item-title {
    color: var(--platform-color, #007aff);
}

.hot-item-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    flex-shrink: 0;
}

.hot-item-rank.top {
    background: linear-gradient(135deg, #ff6b6b, #ffa500);
    color: #fff;
}

.hot-item-title {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.hot-item-hot {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    flex-shrink: 0;
}

.hot-loading,
.hot-empty {
    text-align: center;
    padding: 3rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    grid-column: 1 / -1;
}

.hot-update-time {
    text-align: center;
    margin-top: 2rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.hot-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.hot-refresh-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hot-refresh-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.hot-refresh-btn.loading span {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@media (max-width: 640px) {
    .hot-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hot-refresh-btn {
        width: 100%;
        justify-content: center;
    }
}
