/* Growth Reports - Neumorphism Design System */

:root {
    /* Neumorphism 核心色 */
    --bg-color: #E0E5EC;
    --shadow-light: #FFFFFF;
    --shadow-dark: #A3B1C6;
    --accent: #6C63FF;
    --accent-light: #8B85FF;
    --accent-dark: #5046E5;

    /* 文字色 */
    --text-primary: #2D3748;
    --text-secondary: #4A5568;
    --text-muted: #718096;

    /* 圆角 */
    --radius-lg: 32px;
    --radius-md: 16px;
    --radius-sm: 8px;

    /* 阴影 - 凸起 */
    --shadow-raised: 8px 8px 16px var(--shadow-dark),
                     -8px -8px 16px var(--shadow-light);
    --shadow-raised-sm: 4px 4px 8px var(--shadow-dark),
                        -4px -4px 8px var(--shadow-light);

    /* 阴影 - 凹陷 */
    --shadow-inset: inset 4px 4px 8px var(--shadow-dark),
                    inset -4px -4px 8px var(--shadow-light);
    --shadow-inset-sm: inset 2px 2px 4px var(--shadow-dark),
                       inset -2px -2px 4px var(--shadow-light);

    /* 字体 */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.7;
    min-height: 100vh;
    padding: 40px 20px;
}

/* ============ 布局容器 ============ */

.container {
    max-width: 900px;
    margin: 0 auto;
}

/* ============ 凸起卡片 ============ */

.neu-card {
    background: var(--bg-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-raised);
    padding: 32px;
    margin: 24px 0;
}

.neu-card-sm {
    background: var(--bg-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-raised-sm);
    padding: 20px;
    margin: 16px 0;
}

/* ============ 凹陷区域 ============ */

.neu-inset {
    background: var(--bg-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-inset);
    padding: 20px;
}

.neu-inset-sm {
    background: var(--bg-color);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-inset-sm);
    padding: 12px;
}

/* ============ 按钮 ============ */

.neu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-raised-sm);
    padding: 12px 24px;
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95em;
    border: none;
    cursor: pointer;
    transition: all 0.15s ease;
}

.neu-button:hover {
    box-shadow: var(--shadow-inset-sm);
    color: var(--accent-dark);
}

.neu-button:active {
    box-shadow: var(--shadow-inset);
}

/* ============ 标题 ============ */

h1 {
    color: var(--accent);
    font-size: 2.2em;
    font-weight: 700;
    margin-bottom: 8px;
}

h2 {
    color: var(--accent);
    font-size: 1.4em;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 16px;
    padding-left: 16px;
    position: relative;
}

h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 4px;
    background: var(--accent);
    border-radius: 2px;
}

h3 {
    color: var(--text-primary);
    font-size: 1.15em;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 12px;
}

/* ============ 段落与文字 ============ */

p {
    margin: 12px 0;
    color: var(--text-secondary);
}

.meta {
    color: var(--text-muted);
    font-size: 0.9em;
    margin-bottom: 24px;
}

strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* ============ 链接 ============ */

a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s;
}

a:hover {
    color: var(--accent-dark);
}

/* ============ 列表 ============ */

ul, ol {
    padding-left: 24px;
    margin: 12px 0;
}

li {
    margin: 8px 0;
    color: var(--text-secondary);
}

li::marker {
    color: var(--accent);
}

/* ============ 代码 ============ */

code {
    font-family: var(--font-mono);
    font-size: 0.85em;
    background: var(--bg-color);
    box-shadow: var(--shadow-inset-sm);
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    color: var(--accent-dark);
}

pre {
    background: var(--bg-color);
    box-shadow: var(--shadow-inset);
    border-radius: var(--radius-md);
    padding: 20px;
    overflow-x: auto;
    margin: 16px 0;
}

pre code {
    background: none;
    box-shadow: none;
    padding: 0;
    font-size: 0.9em;
    color: var(--text-primary);
}

/* ============ 分割线 ============ */

hr {
    border: none;
    height: 2px;
    background: var(--bg-color);
    box-shadow: var(--shadow-inset-sm);
    margin: 32px 0;
    border-radius: 1px;
}

/* ============ 首页 - 页头 ============ */

.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    margin-bottom: 8px;
}

.page-header .subtitle {
    color: var(--text-muted);
    font-size: 1em;
}

/* ============ 首页 - 报告列表 ============ */

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

.report-item {
    background: var(--bg-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-raised-sm);
    padding: 20px 24px;
    margin: 16px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: all 0.15s ease;
}

.report-item:hover {
    box-shadow: var(--shadow-inset-sm);
    transform: translateY(2px);
}

.report-item a {
    font-size: 1.1em;
    font-weight: 600;
}

.report-item .summary {
    color: var(--text-secondary);
    font-size: 0.95em;
    line-height: 1.5;
}

.report-item .date {
    color: var(--text-muted);
    font-size: 0.85em;
}

/* ============ 报告页 - Section ============ */

section {
    background: var(--bg-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-raised);
    padding: 28px;
    margin: 24px 0;
}

section h2 {
    margin-top: 0;
}

/* ============ 报告页 - 改进卡片 ============ */

.improvement-card {
    background: var(--bg-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-inset);
    padding: 24px;
    margin: 20px 0;
}

.improvement-card h3 {
    margin-top: 0;
    color: var(--accent);
}

.improvement-card .label {
    display: inline-block;
    background: var(--bg-color);
    box-shadow: var(--shadow-raised-sm);
    color: var(--accent);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 600;
    margin-bottom: 12px;
}

/* ============ 报告页 - 资源链接 ============ */

.resource-item {
    background: var(--bg-color);
    box-shadow: var(--shadow-inset-sm);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin: 12px 0;
}

.resource-item a {
    font-weight: 600;
    font-size: 1em;
}

.resource-item .source {
    color: var(--text-muted);
    font-size: 0.85em;
    margin-top: 4px;
}

/* ============ 报告页 - Action Items ============ */

.action-item {
    display: flex;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid rgba(163, 177, 198, 0.3);
}

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

.action-number {
    background: var(--accent);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85em;
    margin-right: 16px;
    flex-shrink: 0;
    box-shadow: 2px 2px 4px var(--shadow-dark);
}

.action-content {
    flex: 1;
    color: var(--text-secondary);
}

/* ============ 报告页 - Strengths ============ */

.strength-item {
    display: flex;
    align-items: center;
    padding: 10px 0;
    color: var(--text-secondary);
}

.strength-item::before {
    content: "✓";
    color: #48BB78;
    font-weight: bold;
    margin-right: 12px;
    font-size: 1.1em;
}

/* ============ 页脚 ============ */

.footer {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85em;
    margin-top: 48px;
    padding-top: 24px;
}

.footer a {
    color: var(--text-muted);
}

.footer a:hover {
    color: var(--accent);
}

/* ============ 响应式 ============ */

@media (max-width: 640px) {
    body {
        padding: 20px 16px;
    }

    h1 {
        font-size: 1.8em;
    }

    h2 {
        font-size: 1.2em;
    }

    .neu-card {
        padding: 24px 20px;
        border-radius: var(--radius-md);
    }

    section {
        padding: 20px;
        border-radius: var(--radius-md);
    }

    .report-item {
        padding: 16px 20px;
    }
}
