:root {
    /* 浅色极简配色板 */
    --clr-bg: #f8fafc;
    /* Slate 50 */
    --clr-surface: #ffffff;
    --clr-border: #e2e8f0;
    /* Slate 200 */

    --clr-text: #0f172a;
    /* Slate 900 */
    --clr-text-muted: #64748b;
    /* Slate 500 */

    --clr-primary: #10b981;
    /* Emerald 500 - 象征生机与记录 */
    --clr-primary-glow: rgba(16, 185, 129, 0.2);

    --clr-gradient-1: #0ea5e9;
    /* Sky 500 */
    --clr-gradient-2: #6366f1;
    /* Indigo 500 */
    --clr-gradient-3: #10b981;
    /* Emerald 500 */

    --font-heading: 'Inter', 'Noto Sans SC', sans-serif;
    --font-body: 'Inter', 'Noto Sans SC', sans-serif;

    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;

    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: 0.2s ease-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--clr-bg);
    color: var(--clr-text);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    /* 隐约的网格背景，增强质感但不干扰 */
    background-image: radial-gradient(var(--clr-border) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* 基础复用组件 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-narrow {
    max-width: 800px;
}

.glass-panel {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.glass-panel:hover {
    border-color: var(--clr-primary);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
    font-weight: 700;
}

.text-gradient {
    background: linear-gradient(to right, var(--clr-primary), var(--clr-gradient-1));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* 按钮样式 */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.4rem;
    border-radius: 9999px;
    font-weight: 500;
    text-decoration: none;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
}

.btn-primary {
    background: var(--clr-primary);
    color: #fff;
    box-shadow: 0 4px 14px var(--clr-primary-glow);
}

.btn-primary:hover {
    background: #059669;
    /* Emerald 600 */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(5, 150, 105, 0.3);
}

.btn-secondary {
    background: #ffffff;
    color: var(--clr-text);
    border: 1px solid var(--clr-border);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
    background: #f1f5f9;
    /* Slate 100 */
    border-color: #cbd5e1;
    /* Slate 300 */
}

.btn-large {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
}

/* Header */
.glass-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--clr-border);
    padding: 1.2rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--clr-text);
    letter-spacing: -0.5px;
}

.logo-img {
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 8px;
    /* 轻微圆角让底部不显得过于生硬 */
    object-fit: contain;
}

nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--clr-text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.nav-link:hover {
    color: var(--clr-text);
}

/* Hero Section */
.hero-section {
    padding: 12rem 0 6rem;
    text-align: center;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.badge {
    background: #ecfdf5;
    /* Emerald 50 */
    color: #059669;
    /* Emerald 600 */
    padding: 0.4rem 1.2rem;
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid #d1fae5;
    /* Emerald 100 */
    display: inline-block;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    letter-spacing: -0.03em;
    max-width: 900px;
    margin: 0 auto;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--clr-text-muted);
    max-width: 650px;
    margin: 0 auto;
}

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

/* Story Section */
.story-section {
    padding: 4rem 0;
}

.story-card {
    position: relative;
    padding: 4rem 3rem;
    text-align: center;
    overflow: hidden;
    background: #ffffff;
}

.quote-icon {
    font-size: 6rem;
    font-family: Georgia, serif;
    color: var(--clr-border);
    position: absolute;
    top: 1rem;
    left: 2rem;
    line-height: 1;
}

.story-text {
    position: relative;
    z-index: 1;
    margin-bottom: 2.5rem;
}

.quote {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--clr-text);
}

.author {
    color: var(--clr-text-muted);
    font-size: 1.1rem;
}

.story-context {
    position: relative;
    z-index: 1;
    color: var(--clr-text-muted);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.05rem;
}

.story-context p {
    margin-bottom: 1rem;
}

/* Features Section */
.features-section {
    padding: 6rem 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--clr-text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.bento-card {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    padding: 2.5rem;
    background: #ffffff;
}

.card-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.gradient-bg-1 {
    background: #e0f2fe;
    color: #0284c7;
}

/* Sky */
.gradient-bg-2 {
    background: #e0e7ff;
    color: #4f46e5;
}

/* Indigo */
.gradient-bg-3 {
    background: #fae8ff;
    color: #c026d3;
}

/* Fuchsia */
.gradient-bg-4 {
    background: #ecfdf5;
    color: #059669;
}

/* Emerald */

.bento-card h3 {
    font-size: 1.3rem;
}

.bento-card p {
    color: var(--clr-text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Why Section */
.why-section {
    padding: 4rem 0 6rem;
}

.why-box {
    padding: 4rem;
    background: #ffffff;
}

.why-box h2 {
    margin-bottom: 3rem;
    font-size: 2.2rem;
}

.check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.check-list li {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.check-icon {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    background: #d1fae5;
    color: #059669;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: bold;
}

.check-list strong {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
    color: var(--clr-text);
}

.check-list span {
    color: var(--clr-text-muted);
    font-size: 1rem;
    line-height: 1.5;
    display: block;
}

/* Footer Section */
.site-footer {
    border-top: 1px solid var(--clr-border);
    padding: 5rem 0 2rem;
    background: #ffffff;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    gap: 4rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.footer-brand {
    flex: 1;
    min-width: 250px;
}

.footer-brand .logo-img {
    width: 2.5rem;
    height: 2.5rem;
}

.footer-brand p {
    color: var(--clr-text-muted);
    margin-top: 1rem;
    font-size: 1.1rem;
}

.contact-box {
    flex: 1.5;
    min-width: 300px;
    padding: 3rem;
    background: var(--clr-bg);
}

.contact-box h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact-box p {
    color: var(--clr-text-muted);
    margin-bottom: 2rem;
    font-size: 1.05rem;
}

.wechat-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: #ffffff;
    border: 1px solid var(--clr-border);
    padding: 1rem 2rem;
    border-radius: 9999px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.wechat-icon {
    font-size: 1.5rem;
}

.wechat-label {
    color: var(--clr-text-muted);
    font-size: 1.1rem;
}

.wechat-id {
    font-family: monospace;
    font-size: 1.4rem;
    color: #059669;
    /* Emerald 600 */
    letter-spacing: 1px;
}

.hint-text {
    font-size: 0.95rem !important;
    margin-bottom: 0 !important;
}

.copyright {
    text-align: center;
    color: var(--clr-text-muted);
    font-size: 0.95rem;
    border-top: 1px solid var(--clr-border);
    padding-top: 2rem;
}

/* 动画和可见性揭示 */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* 响应式适配 */
@media (max-width: 768px) {
    nav {
        display: none;
    }

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

    .hero-section {
        padding: 8rem 0 4rem;
        min-height: auto;
    }

    .story-card {
        padding: 3rem 1.5rem;
    }

    .quote {
        font-size: 1.3rem;
    }

    .why-box {
        padding: 2.5rem 1.5rem;
    }
}