/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #8DB5A8;
    --secondary-color: #8DB5A8;
    --accent-color: #6B8E84;
    --bg-color: #0f1419;
    --text-color: #E8E8E8;
    --secondary-text: #A8A8A8;
    --light-gray: #1a1f26;
    --white: #FFFFFF;
    --success-color: #8DB5A8;
    --warning-color: #B08968;
    --card-bg: #161b22;
    --card-hover-bg: #1c2128;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    background-color: #161b22;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid #21262d;
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-color);
}

.logo-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.5px;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

/* 主要内容区 */
main {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
}

/* 首页样式 */
.hero {
    text-align: center;
    padding: 4rem 0;
}

.main-tagline {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 3rem;
    line-height: 1.3;
}

.intro-section {
    margin: 4rem 0;
}

.intro-section h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

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

.feature-item {
    background: var(--card-bg);
    border: 1px solid #21262d;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.cta-section {
    margin: 4rem 0;
}

.cta-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-color);
}

/* 按钮样式 */
.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(127, 165, 154, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(127, 165, 154, 0.4);
}

.btn-primary.large {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
}

.btn-secondary {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: var(--card-bg);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    border: 2px solid var(--secondary-color);
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: var(--secondary-color);
    color: var(--white);
}

/* 评估页面样式 */
.assessment-section {
    max-width: 800px;
    margin: 0 auto;
}

.assessment-header {
    text-align: center;
    margin-bottom: 3rem;
}

.assessment-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--secondary-text);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--light-gray);
    border-radius: 10px;
    margin: 2rem 0 1rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    width: 10%;
    transition: width 0.3s;
}

.progress-text {
    text-align: center;
    color: var(--text-color);
    font-weight: 600;
}

.question-card {
    display: none;
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    margin-bottom: 2rem;
}

.question-card.active {
    display: block;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.question-card h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.option {
    display: flex;
    align-items: center;
    padding: 1.2rem;
    background: var(--card-bg);
    border: 2px solid #21262d;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--text-color);
}

.option:hover {
    border-color: var(--secondary-color);
    background: var(--card-hover-bg);
}

.option input[type="radio"],
.option input[type="checkbox"] {
    margin-right: 1rem;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.option input[type="radio"]:checked + span,
.option input[type="checkbox"]:checked + span {
    color: var(--secondary-color);
    font-weight: 600;
}

.option:has(input[type="radio"]:checked),
.option:has(input[type="checkbox"]:checked) {
    border-color: var(--secondary-color);
    background: #E8F0ED;
}

.button-group {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    gap: 1rem;
}

/* 结果页面样式 */
.result-section {
    max-width: 900px;
    margin: 0 auto;
}

.result-header {
    text-align: center;
    margin-bottom: 3rem;
}

.result-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.result-card {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.sleep-type {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--light-gray);
}

.sleep-type h2 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.type-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: var(--white);
    border-radius: 25px;
    font-weight: 600;
}

.result-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.next-step {
    margin-top: 3rem;
}

.hint-box {
    background: #E8F0ED;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.hint-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.hint-subtext {
    font-size: 1rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.hint-list {
    list-style: none;
    padding-left: 0;
}

.hint-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.hint-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.cta-box {
    text-align: center;
    padding: 2rem;
}

.price-info {
    margin-top: 1rem;
    color: var(--secondary-text);
    font-size: 0.95rem;
}

.alternative-actions {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.link-secondary {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.link-secondary:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* 方案页面样式 */
.plan-section {
    max-width: 1200px;
    margin: 0 auto;
}

.plan-header {
    text-align: center;
    margin-bottom: 3rem;
}

.plan-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.plan-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.plan-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    position: relative;
    transition: transform 0.3s;
}

.plan-card:hover {
    transform: translateY(-5px);
}

.plan-card.featured {
    border: 3px solid var(--secondary-color);
    box-shadow: 0 15px 40px rgba(127, 165, 154, 0.25);
}

.plan-card .badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--warning-color);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.plan-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.plan-features h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

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

.plan-features li {
    padding: 0.8rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.plan-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.plan-note {
    background: #E8F0ED;
    padding: 2rem;
    border-radius: 12px;
}

.plan-note h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.plan-note p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* 单一方案样式 */
.plan-single {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
}

.plan-card-single {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    max-width: 600px;
    width: 100%;
    text-align: center;
}

.plan-price-large {
    font-size: 4rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    line-height: 1;
}

.plan-name-single {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--light-gray);
}

.plan-card-single .plan-features {
    text-align: left;
}

.plan-card-single .plan-features h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-align: left;
}

.plan-card-single .plan-features ul {
    list-style: none;
    margin-bottom: 0;
}

.plan-card-single .plan-features li {
    padding: 0.8rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.plan-card-single .plan-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* 内容页面样式 */
.content-section {
    max-width: 1000px;
    margin: 0 auto;
}

.content-header {
    text-align: center;
    margin-bottom: 3rem;
}

.content-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.content-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.content-tab {
    padding: 0.8rem 2rem;
    background: var(--card-bg);
    color: var(--text-color);
    border: 2px solid var(--light-gray);
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.content-tab:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.content-tab.active {
    background: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

.content-category {
    display: none;
}

.content-category.active {
    display: block;
}

.content-category h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.article-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
}

.article-card h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.article-card p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.article-list {
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.article-list li {
    margin-bottom: 0.8rem;
    line-height: 1.8;
}

/* 会员页面样式 */
.membership-section {
    max-width: 1200px;
    margin: 0 auto;
}

.membership-header {
    text-align: center;
    margin-bottom: 2rem;
}

.membership-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.membership-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.membership-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.membership-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    text-align: center;
}

.membership-card h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.membership-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.membership-benefits h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-align: left;
}

.membership-benefits ul {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.membership-benefits li {
    padding: 0.8rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.membership-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.membership-note {
    background: #E8F0ED;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

/* 关于页面样式 */
/* ==================== 关于我们页面 ==================== */

.about-main {
    background: linear-gradient(180deg, #1a2f2a 0%, #0f1419 30%, #0f1419 70%, #161b22 100%);
}

/* 窄容器 - 用于文字密集区域 */
.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section 通用样式 */
.about-main section {
    padding: 6rem 0;
}

.section-label {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-label.light {
    color: rgba(255, 255, 255, 0.8);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.section-title.light {
    color: white;
}

/* Hero Slogan */
.hero-slogan {
    background: transparent;
    padding: 8rem 0;
    text-align: center;
    color: white;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    opacity: 0.95;
    font-weight: 300;
}

/* 我们的本心 */
.section-heart {
    background: transparent;
}

.heart-content {
    font-size: 1.125rem;
    line-height: 2;
    color: var(--secondary-text);
}

.heart-content p {
    margin-bottom: 1.5rem;
}

.highlight-text {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--primary-color);
    padding: 1.5rem 0;
}

/* 我们的优势 */
.section-advantages {
    background: transparent;
}

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

.advantage-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 16px;
    border: 1px solid #21262d;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-8px);
    background: var(--card-hover-bg);
    border-color: rgba(141, 181, 168, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.advantage-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.advantage-card h3 {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.advantage-card p {
    line-height: 1.7;
    color: var(--secondary-text);
}

/* 服务理念 */
.section-philosophy {
    background: transparent;
}

.philosophy-intro {
    font-size: 1.125rem;
    text-align: center;
    color: var(--secondary-text);
    margin-bottom: 3rem;
}

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

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

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

.philosophy-item h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.75rem;
}

.philosophy-item p {
    line-height: 1.7;
    color: var(--secondary-text);
}

/* 365天服务板块 - 特殊样式 */
.section-365 {
    background: rgba(26, 47, 42, 0.3);
    padding: 6rem 0;
    border-top: 1px solid rgba(141, 181, 168, 0.1);
    border-bottom: 1px solid rgba(141, 181, 168, 0.1);
}

.service-365-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.service-365-header {
    text-align: center;
    margin-bottom: 4rem;
}

.service-365-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

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

@media (max-width: 992px) {
    .service-365-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .service-365-grid {
        grid-template-columns: 1fr;
    }
}

.service-365-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.service-365-card:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
}

.service-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
}

.service-365-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.service-365-card p {
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

/* 我们的团队 */
.section-team {
    background: transparent;
}

.team-content {
    font-size: 1.125rem;
    line-height: 2;
    color: var(--secondary-text);
}

.team-content p {
    margin-bottom: 1.5rem;
}

.team-vision {
    margin-top: 3rem;
    padding: 2.5rem;
    background: var(--card-bg);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    border: 1px solid #21262d;
    border-left-width: 4px;
}

.vision-text {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--primary-color);
    font-style: italic;
    margin-bottom: 1rem;
}

.vision-author {
    font-size: 1rem;
    color: var(--secondary-text);
    font-style: italic;
}

/* 联系我们 */
.section-contact {
    background: transparent;
}

.contact-intro {
    font-size: 1.125rem;
    text-align: center;
    color: var(--secondary-text);
    margin-bottom: 3rem;
}

/* 联系表单 */
.contact-form {
    max-width: 700px;
    margin: 0 auto 3rem;
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-color);
    margin-bottom: 0.75rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--card-bg);
    border: 2px solid #21262d;
    border-radius: 8px;
    color: var(--text-color);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--secondary-text);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--card-hover-bg);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.btn-submit {
    width: 100%;
    padding: 1.25rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(127, 165, 154, 0.3);
}

.contact-footer {
    text-align: center;
    padding-top: 3rem;
    border-top: 1px solid #E8F0ED;
}

.contact-footer p {
    color: var(--secondary-text);
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.contact-email {
    color: var(--primary-color);
    font-size: 1.25rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-email:hover {
    color: var(--secondary-color);
}

/* 表单消息提示 */
.form-message {
    margin: 1.5rem 0;
    text-align: center;
}

.success-message {
    padding: 1rem;
    background: #E8F0ED;
    color: var(--primary-color);
    border-radius: 8px;
    font-weight: 600;
}

.error-message {
    padding: 1rem;
    background: #FFE8E8;
    color: #D32F2F;
    border-radius: 8px;
    font-weight: 600;
}

.btn-primary-large {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(127, 165, 154, 0.3);
}

.btn-primary-large:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(127, 165, 154, 0.4);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

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

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

    .about-main section {
        padding: 4rem 0;
    }

    .advantages-grid,
    .philosophy-grid {
        grid-template-columns: 1fr;
    }
}

/* 页脚 */
footer {
    background: #161b22;
    border-top: 1px solid #21262d;
    color: var(--secondary-text);
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

/* 完整报告页面样式 - 新版 */
.full-report-section {
    padding: 2rem 0 4rem;
}

.container-wide {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.report-title-area {
    text-align: center;
    margin-bottom: 2rem;
}

.report-title-area h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
}

/* Tabs导航 */
.report-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    overflow-x: auto;
    padding: 0.5rem 0;
    border-bottom: 2px solid var(--light-gray);
}

.report-tab {
    padding: 0.8rem 1.5rem;
    background: transparent;
    border: none;
    color: var(--secondary-text);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.report-tab:hover {
    color: var(--primary-color);
}

.report-tab.active {
    color: var(--primary-color);
    font-weight: 600;
    border-bottom-color: var(--primary-color);
}

/* 报告主内容区 */
.report-main-content {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    min-height: 600px;
}

#reportFullContent h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

#reportFullContent h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin: 2rem 0 1rem;
}

#reportFullContent h4 {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

#reportFullContent p {
    line-height: 1.8;
    margin-bottom: 1rem;
    color: var(--text-color);
}

#reportFullContent ul,
#reportFullContent ol {
    margin: 1rem 0 1.5rem 1.5rem;
    line-height: 1.8;
}

#reportFullContent li {
    margin-bottom: 0.5rem;
}

#reportFullContent blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 1.5rem;
    margin: 1.5rem 0;
    color: var(--secondary-text);
    font-style: italic;
}

/* 特殊样式块 */
.moment-box,
.dialogue-box {
    background: #F9F8F6;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
    border-left: 3px solid var(--primary-color);
}

.moment-box h4,
.dialogue-box h4 {
    margin-top: 0;
    color: var(--primary-color);
}

.cycle-visual {
    background: #E8F0ED;
    padding: 2rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    text-align: center;
    font-size: 1.1rem;
    line-height: 2;
}

.insight,
.highlight {
    background: #FFF9E6;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    border-left: 4px solid #E8B86D;
    font-weight: 500;
}

/* 报告导航按钮 */
.report-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--light-gray);
}

.report-navigation button {
    min-width: 120px;
}

/* 老的报告样式保留，以防兼容性问题 */
.report-section {
    max-width: 900px;
    margin: 0 auto;
}

.report-header {
    text-align: center;
    margin-bottom: 3rem;
}

.report-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.report-content {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    margin-bottom: 3rem;
}

.report-section-block {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--light-gray);
}

.report-section-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.report-section-block h2 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.report-section-block p {
    line-height: 1.8;
    margin-bottom: 1rem;
}

.report-section-block ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.report-section-block li {
    margin-bottom: 0.8rem;
    line-height: 1.8;
}

.insight-box {
    background: #F9F8F6;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    border-left: 4px solid var(--primary-color);
}

.insight-box p {
    margin: 0;
}

.cycle-box {
    background: #E8F0ED;
    padding: 2rem;
    border-radius: 12px;
    margin: 1.5rem 0;
    text-align: center;
}

.cycle-box p {
    font-size: 1.1rem;
    line-height: 2;
    margin: 0;
    color: var(--text-color);
}

.highlight-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    margin: 1.5rem 0;
}

.suggestion-list {
    list-style: none;
    padding: 0;
}

.suggestion-list li {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.suggestion-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.suggestion-detail {
    display: block;
    margin-top: 0.5rem;
    color: var(--secondary-text);
    font-size: 0.95rem;
    line-height: 1.6;
}

.summary {
    background: #E8F0ED;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.summary-text {
    font-size: 1.3rem;
    line-height: 1.8;
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 1rem;
}

.summary-text:last-child {
    margin-bottom: 0;
}

.report-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.report-actions .btn-primary,
.report-actions .btn-secondary {
    min-width: 200px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .main-tagline {
        font-size: 1.8rem;
    }

    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

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

    .plan-options,
    .membership-options {
        grid-template-columns: 1fr;
    }

    .content-nav {
        flex-direction: column;
    }

    .button-group {
        flex-direction: column;
    }

    .alternative-actions {
        flex-direction: column;
        gap: 1rem;
    }

    .report-content {
        padding: 1.5rem;
    }

    .report-header h1 {
        font-size: 1.8rem;
    }

    .report-actions {
        flex-direction: column;
    }

    .report-actions .btn-primary,
    .report-actions .btn-secondary {
        min-width: auto;
        width: 100%;
    }
}

/* 睡眠知识页面 - 文章列表样式 */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.article-preview {
    background: var(--card-bg);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.article-preview:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.article-preview-header {
    flex: 1;
}

.article-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    color: var(--white);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.article-preview h2 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.article-subtitle {
    font-size: 0.95rem;
    color: var(--secondary-text);
    margin-bottom: 0.75rem;
    font-style: italic;
}

.article-excerpt {
    font-size: 0.95rem;
    color: var(--secondary-text);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.read-more-btn {
    align-self: flex-start;
    padding: 0.75rem 1.5rem;
    background: var(--bg-color);
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.read-more-btn:hover {
    background: var(--secondary-color);
    color: var(--white);
}

/* 文章完整内容样式 */
.article-full {
    display: none;
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    animation: fadeIn 0.3s ease;
}

.article-full.active {
    display: block;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--bg-color);
    color: var(--text-color);
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.back-btn:hover {
    background: var(--light-gray);
    transform: translateX(-3px);
}

.article-full article {
    line-height: 1.8;
}

.article-full h1 {
    font-size: 2.25rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-full h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.article-full p {
    font-size: 1.05rem;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.article-full strong {
    color: var(--secondary-color);
    font-weight: 600;
}

.article-full .article-tag {
    margin-bottom: 1.5rem;
}

.article-full .article-subtitle {
    font-size: 1.15rem;
    color: var(--secondary-text);
    margin-bottom: 2rem;
    font-style: italic;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .article-preview {
        padding: 1.5rem;
    }

    .article-preview h2 {
        font-size: 1.3rem;
    }

    .article-full {
        padding: 1.5rem;
    }

    .article-full h1 {
        font-size: 1.75rem;
    }

    .article-full h3 {
        font-size: 1.25rem;
    }

    .article-full p {
        font-size: 1rem;
    }
}

/* 音乐播放器页面样式 */
.music-player-page {
    padding-bottom: 120px; /* 为底部播放器留出空间 */
}

.player-header {
    text-align: center;
    margin-bottom: 3rem;
}

.player-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.player-layout {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

/* 左侧播放列表 */
.playlist-sidebar {
    background: var(--card-bg);
    border: 1px solid #21262d;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    max-height: calc(100vh - 350px);
    overflow-y: auto;
}

.playlist-sidebar h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.collection-item {
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--light-gray);
    padding-bottom: 1rem;
}

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

.collection-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.3s;
}

.collection-header:hover {
    background: var(--card-hover-bg);
}

.collection-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.collection-info i {
    font-size: 1.2rem;
    color: var(--secondary-color);
}

.collection-name {
    font-weight: 600;
    color: var(--text-color);
    font-size: 1.05rem;
}

.track-count {
    font-size: 0.85rem;
    color: var(--secondary-text);
    background: rgba(141, 181, 168, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
}

.toggle-icon {
    color: var(--secondary-text);
    transition: transform 0.3s;
}

.collection-item.expanded .toggle-icon {
    transform: rotate(180deg);
}

.track-list {
    list-style: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.collection-item.expanded .track-list {
    max-height: 1000px;
    margin-top: 0.5rem;
}

.track-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s;
}

.track-item:hover {
    background: var(--card-hover-bg);
}

.track-item.playing {
    background: rgba(141, 181, 168, 0.15);
}

.track-item.playing .track-number {
    color: var(--secondary-color);
}

.track-item.playing .track-name {
    color: var(--secondary-color);
    font-weight: 600;
}

.track-number {
    min-width: 24px;
    text-align: center;
    color: var(--secondary-text);
    font-size: 0.9rem;
}

.track-name {
    flex: 1;
    color: var(--text-color);
    font-size: 0.95rem;
}

.track-duration {
    color: var(--secondary-text);
    font-size: 0.85rem;
}

/* 右侧当前播放信息 */
.now-playing {
    background: linear-gradient(135deg, #1a2f2a 0%, #243832 100%);
    border: 1px solid rgba(141, 181, 168, 0.2);
    border-radius: 16px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    min-height: 400px;
}

.album-art {
    width: 200px;
    height: 200px;
    margin-bottom: 2rem;
}

.album-art-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    backdrop-filter: blur(10px);
}

.now-playing-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.now-playing-info p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* 底部播放器控制栏 */
.player-controls-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border-top: 1px solid #21262d;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.4);
    z-index: 1000;
}

.player-controls-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 2rem;
    align-items: center;
}

/* 左侧：轨道信息 */
.controls-track-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.controls-album-art {
    width: 56px;
    height: 56px;
    background: rgba(141, 181, 168, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary-color);
    font-size: 1.5rem;
}

.controls-text {
    flex: 1;
    min-width: 0;
}

.controls-track-name {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.controls-collection-name {
    font-size: 0.85rem;
    color: var(--secondary-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 中间：播放控制 */
.controls-center {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.controls-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.control-btn {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.2rem;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.control-btn:hover {
    background: rgba(141, 181, 168, 0.1);
    color: var(--secondary-color);
}

.control-btn-play {
    width: 48px;
    height: 48px;
    background: var(--secondary-color);
    color: var(--white);
    font-size: 1.4rem;
}

.control-btn-play:hover {
    background: var(--accent-color);
    transform: scale(1.05);
}

#loopBtn.active {
    color: var(--secondary-color);
}

/* 进度条 */
.progress-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.time-current,
.time-total {
    font-size: 0.85rem;
    color: var(--secondary-text);
    min-width: 40px;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: var(--light-gray);
    border-radius: 3px;
    position: relative;
    cursor: pointer;
}

.progress-fill {
    height: 100%;
    background: var(--secondary-color);
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s linear;
    position: relative;
}

.progress-handle {
    position: absolute;
    top: 50%;
    left: 0%;
    transform: translate(-50%, -50%);
    width: 14px;
    height: 14px;
    background: var(--card-bg);
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s, transform 0.1s;
    pointer-events: none;
    z-index: 2;
}

.progress-bar:hover .progress-handle,
.progress-handle.visible {
    opacity: 1;
}

.progress-handle:active {
    transform: translate(-50%, -50%) scale(1.2);
}

/* 右侧：音量控制 */
.controls-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: flex-end;
}

.volume-slider {
    width: 100px;
}

.volume-slider input[type="range"] {
    width: 100%;
    height: 6px;
    background: var(--light-gray);
    border-radius: 3px;
    outline: none;
    -webkit-appearance: none;
}

.volume-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 12px;
    height: 12px;
    background: var(--secondary-color);
    border-radius: 50%;
    cursor: pointer;
}

.volume-slider input[type="range"]::-moz-range-thumb {
    width: 12px;
    height: 12px;
    background: var(--secondary-color);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .player-layout {
        grid-template-columns: 1fr;
    }

    .playlist-sidebar {
        max-height: 400px;
    }

    .player-controls-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .controls-track-info {
        justify-content: center;
    }

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

@media (max-width: 768px) {
    .music-player-page {
        padding-bottom: 180px;
    }

    .player-controls-container {
        padding: 1rem;
    }

    .controls-buttons {
        gap: 0.5rem;
    }

    .control-btn {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }

    .control-btn-play {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
    }

    .volume-slider {
        width: 80px;
    }
}

/* 睡眠日记页面样式 */
.diary-page {
    padding: 2rem 0 4rem;
}

.diary-header {
    text-align: center;
    margin-bottom: 3rem;
}

.diary-header h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* 统计卡片 */
.stats-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid #21262d;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s, background 0.3s, border-color 0.3s;
    text-align: center;
}

.stat-card:hover {
    transform: translateY(-3px);
    background: var(--card-hover-bg);
    border-color: rgba(141, 181, 168, 0.3);
}

.stat-content {
    width: 100%;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--secondary-text);
}

/* 日记布局 */
.diary-layout {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

/* 左侧表单 */
.diary-form-section {
    position: sticky;
    top: 100px;
    align-self: start;
}

.form-card {
    background: var(--card-bg);
    border: 1px solid #21262d;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.form-card h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input[type="date"],
.form-group input[type="time"],
.form-group input[type="number"],
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background: var(--bg-color);
    border: 2px solid #21262d;
    border-radius: 8px;
    color: var(--text-color);
    font-size: 1rem;
    transition: border-color 0.3s, background 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: var(--card-hover-bg);
}

.form-group textarea {
    resize: vertical;
    font-family: inherit;
}

/* 评分按钮组 */
.rating-group {
    display: flex;
    gap: 0.5rem;
}

.rating-btn {
    flex: 1;
    padding: 0.75rem 0.5rem;
    background: var(--bg-color);
    border: 2px solid #21262d;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
    text-align: center;
}

.rating-btn span {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--secondary-text);
    margin-top: 0.25rem;
}

.rating-btn:hover {
    border-color: var(--secondary-color);
    background: rgba(127, 165, 154, 0.1);
}

.rating-btn.active {
    background: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

.rating-btn.active span {
    color: var(--white);
}

/* 心情按钮组 */
.mood-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
}

.mood-btn {
    padding: 0.75rem;
    background: var(--bg-color);
    border: 2px solid #21262d;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-color);
}

.mood-btn:hover {
    border-color: var(--secondary-color);
    background: rgba(127, 165, 154, 0.1);
}

.mood-btn.active {
    background: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

/* 表单操作按钮 */
.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.form-actions .btn-primary,
.form-actions .btn-secondary {
    flex: 1;
}

/* 右侧图表区域 */
.diary-charts-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.chart-card {
    background: var(--card-bg);
    border: 1px solid #21262d;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.chart-card h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.chart-card canvas {
    max-height: 300px;
}

/* 历史记录 */
.diary-history {
    background: var(--card-bg);
    border: 1px solid #21262d;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.history-header h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.history-filters {
    display: flex;
    gap: 0.5rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    background: var(--bg-color);
    border: 2px solid transparent;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-color);
    transition: all 0.3s;
}

.filter-btn:hover {
    background: rgba(127, 165, 154, 0.1);
}

.filter-btn.active {
    background: var(--secondary-color);
    color: var(--white);
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.history-item {
    padding: 1.5rem;
    background: var(--bg-color);
    border-radius: 12px;
    border-left: 4px solid var(--secondary-color);
    transition: all 0.3s;
}

.history-item:hover {
    transform: translateX(5px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.history-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.history-date {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.05rem;
}

.history-actions {
    display: flex;
    gap: 0.5rem;
}

.history-actions button {
    padding: 0.4rem 0.8rem;
    background: var(--card-bg);
    border: 1px solid var(--light-gray);
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s;
}

.history-actions button:hover {
    background: var(--secondary-color);
    color: var(--white);
    border-color: var(--secondary-color);
}

.history-item-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.history-detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.history-detail-label {
    font-size: 0.85rem;
    color: var(--secondary-text);
}

.history-detail-value {
    font-weight: 600;
    color: var(--text-color);
}

.history-notes {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--light-gray);
    font-size: 0.9rem;
    color: var(--secondary-text);
    font-style: italic;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
}

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

.empty-state p {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.empty-hint {
    font-size: 0.95rem;
    color: var(--secondary-text);
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .diary-layout {
        grid-template-columns: 1fr;
    }

    .diary-form-section {
        position: static;
    }

    .stats-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .stats-cards {
        grid-template-columns: 1fr;
    }

    .history-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

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

    .rating-group {
        flex-wrap: wrap;
    }

    .rating-btn {
        min-width: 60px;
    }
}


/* ==================== 首页样式 ==================== */

/* 整体背景 - 统一渐变避免断层 */
.home-main {
    background: linear-gradient(180deg, #1a2f2a 0%, #0f1419 30%, #0f1419 70%, #161b22 100%);
}

/* Hero Section */
.home-hero {
    position: relative;
    background: linear-gradient(135deg, #1a2f2a 0%, #0f1419 100%);
    padding: 10rem 0 8rem;
    color: white;
    text-align: center;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-tag {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 300;
    line-height: 1.3;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.hero-divider {
    display: inline-block;
    margin: 0 1.5rem;
    opacity: 0.5;
    font-weight: 200;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.hero-description {
    font-size: 1rem;
    opacity: 0.8;
    line-height: 1.8;
    margin-bottom: 3rem;
    letter-spacing: 1px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero-primary {
    padding: 1.125rem 2.5rem;
    background: var(--primary-color);
    color: #0f1419;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(141, 181, 168, 0.3);
}

.btn-hero-primary:hover {
    background: #9fc5b8;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(141, 181, 168, 0.4);
}

.btn-hero-secondary {
    padding: 1.125rem 2.5rem;
    background: transparent;
    color: var(--primary-color);
    text-decoration: none;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    background: rgba(141, 181, 168, 0.1);
    border-color: #9fc5b8;
    color: #9fc5b8;
    transform: translateY(-2px);
}

/* Section通用 */
.home-main section {
    padding: 6rem 0;
}

.section-header-center {
    text-align: center;
    margin-bottom: 4rem;
}

/* 核心价值 */
.home-values {
    background: transparent;
}

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

.value-card {
    background: var(--card-bg);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid #21262d;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-8px);
    background: var(--card-hover-bg);
    border-color: rgba(141, 181, 168, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.value-card h3 {
    font-size: 1.375rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.value-card p {
    color: var(--secondary-text);
    line-height: 1.7;
}

/* 365服务亮点 */
.home-highlight {
    background: rgba(26, 47, 42, 0.3);
    color: white;
    border-top: 1px solid rgba(141, 181, 168, 0.1);
    border-bottom: 1px solid rgba(141, 181, 168, 0.1);
}

.highlight-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.highlight-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.highlight-description {
    font-size: 1.125rem;
    opacity: 0.95;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.highlight-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2.5rem;
}

.highlight-features li {
    font-size: 1.125rem;
    opacity: 0.95;
    margin-bottom: 0.75rem;
}

.btn-highlight {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--card-bg);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-highlight:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.highlight-visual {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.visual-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 2rem 1.5rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.visual-stat {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.visual-card p {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* 使用流程 */
.home-process {
    background: transparent;
}

.process-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.process-step {
    flex: 1;
    max-width: 300px;
    text-align: center;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

.process-step h3 {
    font-size: 1.375rem;
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
}

.process-step p {
    color: var(--secondary-text);
    line-height: 1.7;
}

.step-arrow {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 300;
}

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

.btn-process {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(127, 165, 154, 0.3);
}

.btn-process:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(127, 165, 154, 0.4);
}

/* 社会证明 */
.home-social-proof {
    background: transparent;
    padding: 5rem 0;
}

.proof-card {
    background: var(--card-bg);
    padding: 3rem;
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    border: 1px solid #21262d;
    border-left-width: 4px;
}

.proof-quote {
    font-size: 1.375rem;
    line-height: 1.8;
    color: var(--text-color);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.proof-author {
    color: var(--secondary-text);
    font-weight: 600;
}

/* 最终CTA */
.home-final-cta {
    background: transparent;
    border-top: 1px solid rgba(141, 181, 168, 0.1);
}

.final-cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.final-cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.final-cta-content p {
    font-size: 1.25rem;
    color: #c9d1d9;
    margin-bottom: 2.5rem;
}

.btn-final-cta {
    display: inline-block;
    padding: 1.25rem 3rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(127, 165, 154, 0.3);
}

.btn-final-cta:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(127, 165, 154, 0.4);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .highlight-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .highlight-visual {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .home-hero {
        padding: 6rem 0 5rem;
        background-attachment: scroll;
    }

    .hero-title {
        font-size: 2.2rem;
        letter-spacing: 1px;
    }

    .hero-divider {
        margin: 0 0.75rem;
    }

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

    .hero-description {
        font-size: 0.95rem;
    }

    .home-main section {
        padding: 4rem 0;
    }

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

    .process-steps {
        flex-direction: column;
        gap: 2rem;
    }

    .step-arrow {
        transform: rotate(90deg);
    }

    .highlight-visual {
        grid-template-columns: 1fr;
    }

    .final-cta-content h2 {
        font-size: 2rem;
    }
}

