/* ===== 基础变量 ===== */
:root {
    --gold: #C9A962;
    --gold-light: #E8D5A8;
    --gold-dark: #A68B4B;
    --cream: #FAF8F5;
    --cream-dark: #F3EDE4;
    --cocoa: #3D2E1F;
    --cocoa-light: #6B5A48;
    --white: #FFFFFF;
    --shadow: rgba(201, 169, 98, 0.08);
    --shadow-hover: rgba(201, 169, 98, 0.15);
    --radius: 16px;
    --radius-sm: 10px;
    --font-cn: 'Noto Serif SC', 'PingFang SC', 'Microsoft YaHei', serif;
    --font-en: 'Playfair Display', serif;
}

/* ===== 全局重置 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-cn);
    background-color: var(--cream);
    color: var(--cocoa);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* ===== 顶部导航 ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 248, 245, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(201, 169, 98, 0.1);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 24px;
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
    color: var(--cocoa);
}

.logo-en {
    font-family: var(--font-en);
    font-size: 16px;
    color: var(--gold);
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 15px;
    color: var(--cocoa-light);
    position: relative;
    padding: 4px 0;
}

.nav-link:hover,
.nav-link.active {
    color: var(--gold-dark);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
}

.nav-btn {
    padding: 8px 20px;
    border: 1.5px solid var(--gold);
    border-radius: 24px;
    color: var(--gold-dark);
    font-size: 14px;
    font-weight: 500;
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    width: 22px;
    height: 2px;
    background: var(--cocoa);
    border-radius: 2px;
}

/* ===== Hero ===== */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(180deg, var(--cream) 0%, var(--white) 100%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    margin-bottom: 24px;
}

.hero-title-main {
    display: block;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--cocoa);
}

.hero-title-highlight {
    display: block;
    font-size: 46px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--gold);
    position: relative;
}

.hero-title-highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--gold-light);
    opacity: 0.3;
    border-radius: 4px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--cocoa-light);
    margin-bottom: 36px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 32px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(201, 169, 98, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 169, 98, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--gold-dark);
    border: 1.5px solid var(--gold);
}

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

.btn-large {
    padding: 18px 48px;
    font-size: 17px;
}

.hero-image {
    display: flex;
    justify-content: center;
}

.hero-image-placeholder {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 4/3;
    background: var(--cream-dark);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--gold-light);
}

.hero-image-placeholder svg {
    width: 80%;
    height: auto;
}

.hero-image-caption {
    margin-top: 12px;
    font-size: 13px;
    color: var(--cocoa-light);
    font-style: italic;
}

/* ===== 三卡片区 ===== */
.features {
    padding: 100px 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    color: var(--cocoa);
    margin-bottom: 12px;
}

.section-subtitle {
    text-align: center;
    font-size: 16px;
    color: var(--cocoa-light);
    margin-bottom: 60px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.card {
    background: var(--cream);
    border-radius: var(--radius);
    padding: 40px 28px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px var(--shadow-hover);
    border-color: var(--gold-light);
}

.card-featured {
    background: linear-gradient(180deg, var(--cream) 0%, rgba(201, 169, 98, 0.06) 100%);
    border: 1.5px solid var(--gold-light);
    position: relative;
}

.card-featured::before {
    content: '最受欢迎';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: var(--white);
    font-size: 12px;
    padding: 4px 14px;
    border-radius: 12px;
}

.card-icon {
    font-size: 40px;
    margin-bottom: 20px;
}

.card-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--cocoa);
    margin-bottom: 14px;
}

.card-desc {
    font-size: 14px;
    color: var(--cocoa-light);
    line-height: 1.8;
    margin-bottom: 20px;
}

.card-link {
    font-size: 14px;
    color: var(--gold-dark);
    font-weight: 500;
}

.card-link:hover {
    color: var(--gold);
}

/* ===== 更多功能区 ===== */
.more-features {
    padding: 100px 0;
    background: var(--cream);
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.feature-row:last-child {
    margin-bottom: 0;
}

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

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

.feature-badge {
    display: inline-block;
    background: rgba(201, 169, 98, 0.12);
    color: var(--gold-dark);
    font-size: 12px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.feature-text h3 {
    font-size: 26px;
    font-weight: 700;
    color: var(--cocoa);
    margin-bottom: 16px;
}

.feature-text p {
    font-size: 15px;
    color: var(--cocoa-light);
    line-height: 1.8;
}

.feature-visual {
    display: flex;
    justify-content: center;
}

.visual-box {
    background: var(--white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: 0 4px 20px var(--shadow);
    max-width: 360px;
    text-align: center;
}

.visual-emoji {
    font-size: 36px;
    display: block;
    margin-bottom: 16px;
}

.visual-box p {
    font-size: 14px;
    color: var(--cocoa-light);
    margin-bottom: 12px;
}

.visual-quote {
    font-style: italic;
    color: var(--cocoa) !important;
    line-height: 1.8;
}

/* ===== 宠物星球 ===== */
.stories {
    padding: 100px 0;
    background: var(--white);
}

.story-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.story-card {
    background: var(--cream);
    border-radius: var(--radius);
    padding: 28px;
    display: flex;
    gap: 16px;
    transition: all 0.3s ease;
}

.story-card:hover {
    box-shadow: 0 8px 30px var(--shadow);
}

.story-avatar {
    font-size: 36px;
    flex-shrink: 0;
}

.story-content h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.story-content p {
    font-size: 13px;
    color: var(--cocoa-light);
    line-height: 1.7;
    margin-bottom: 10px;
}

.story-meta {
    font-size: 12px;
    color: var(--gold-dark);
}

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

/* ===== 品牌宣言 ===== */
.manifesto {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--cream-dark) 0%, var(--cream) 100%);
}

.manifesto-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.manifesto-content h2 {
    font-family: var(--font-en);
    font-size: 28px;
    color: var(--gold);
    margin-bottom: 32px;
    font-weight: 600;
}

.manifesto-text {
    font-size: 17px;
    line-height: 2;
    color: var(--cocoa);
}

/* ===== CTA区块 ===== */
.cta-section {
    padding: 80px 0;
    background: var(--white);
    text-align: center;
}

.cta-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--cocoa);
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 16px;
    color: var(--cocoa-light);
    margin-bottom: 32px;
}

/* ===== 底部 ===== */
.footer {
    padding: 60px 0 30px;
    background: var(--cocoa);
    color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand .logo-en {
    color: var(--gold-light);
}

.footer-brand p {
    font-family: var(--font-en);
    margin-top: 12px;
    font-size: 14px;
    color: var(--gold-light);
}

.footer-links h4 {
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 10px;
}

.footer-links a:hover {
    color: var(--gold-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 4px;
}

/* ===== 响应式 ===== */
@media (max-width: 968px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-title-main {
        font-size: 32px;
    }

    .hero-title-highlight {
        font-size: 36px;
    }

    .card-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .feature-row,
    .feature-row-reverse {
        grid-template-columns: 1fr;
        gap: 30px;
        direction: ltr;
    }

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

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 640px) {
    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title-main {
        font-size: 26px;
    }

    .hero-title-highlight {
        font-size: 30px;
    }

    .section-title {
        font-size: 24px;
    }

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

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

.card,
.story-card,
.feature-row {
    animation: fadeInUp 0.6s ease forwards;
}

.card:nth-child(2) { animation-delay: 0.1s; }
.card:nth-child(3) { animation-delay: 0.2s; }

.story-card:nth-child(2) { animation-delay: 0.1s; }
.story-card:nth-child(3) { animation-delay: 0.2s; }