/* ===== macOS 风格 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, "SF Pro Display", "SF Pro Text", "PingFang SC", "Helvetica Neue", "Microsoft YaHei", sans-serif;
    background: #f5f5f7;
    min-height: 100vh;
    color: #1d1d1f;
    -webkit-font-smoothing: antialiased;
}

.wrapper {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 48px 20px 60px;
}

.page {
    max-width: 1024px;
    width: 100%;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border-radius: 32px;
    padding: 64px 56px 48px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.12), inset 0 0 0 1px rgba(255, 255, 255, 0.7);
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 48px;
    padding-bottom: 36px;
    border-bottom: 1px solid #e8e8ed;
}

.logo-bar {
    margin-bottom: 20px;
}

.logo-mark {
    display: block;
    width: 56px;
    height: 56px;
    margin: 0 auto;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
    animation: gearSpin 24s linear infinite;
}

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

.mac-eyebrow {
    font-size: 13px;
    font-weight: 600;
    color: #007aff;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.site-title {
    font-size: 44px;
    font-weight: 700;
    color: #1d1d1f;
    letter-spacing: 1px;
    line-height: 1.25;
    margin-bottom: 20px;
}

/* Datetime bar */
.datetime {
    font-size: 13px;
    color: #86868b;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 8px;
    line-height: 1.8;
}

.datetime .dot {
    color: #d1d1d6;
}

/* Weather colors */
.weather-cold { color: #0a84ff; }
.weather-cool { color: #00a8e8; }
.weather-warm { color: #ff9f0a; }
.weather-hot { color: #ff453a; }

/* Main */
.main { margin-bottom: 40px; }

.section-label {
    font-size: 13px;
    font-weight: 600;
    color: #86868b;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 40px 4px 20px;
}

.section-label:first-child { margin-top: 0; }

/* Card 通用样式（毛玻璃白卡） */
section.list-card,
.about,
.module-item,
.skill-cat,
.contact {
    background: #ffffff;
    border-radius: 24px;
    padding: 28px 32px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

/* 关于我们 */
.mac-title {
    font-size: 22px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 14px;
}

section p {
    font-size: 15px;
    color: #48484a;
    line-height: 1.9;
    text-align: justify;
}

/* 核心业务 */
.module-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.module-item {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.module-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.09);
}

.module-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(0, 122, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 16px;
}

.module-item:nth-child(2) .module-icon { background: rgba(0, 168, 232, 0.14); }
.module-item:nth-child(3) .module-icon { background: rgba(52, 199, 89, 0.14); }

.module-item h3 {
    font-size: 17px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 12px;
}

.module-item p {
    font-size: 14px;
    color: #48484a;
    line-height: 1.85;
    text-align: left;
}

/* 胶囊标签 */
.chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.chip {
    display: inline-block;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 500;
    color: #0066cc;
    background: rgba(0, 122, 255, 0.1);
    border-radius: 999px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.chip:hover {
    transform: scale(1.08);
    box-shadow: 0 3px 10px rgba(0, 122, 255, 0.2);
}

/* 技术能力 */
.skill-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.skill-cat {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-cat:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.09);
}

.skill-cat h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 8px;
}

.skill-cat p {
    font-size: 14px;
    color: #6e6e73;
    line-height: 1.8;
    text-align: left;
}

/* 列表卡片 */
.list-card ul {
    list-style: none;
}

.list-card ul li {
    font-size: 14px;
    color: #3a3a3c;
    line-height: 1.85;
    padding: 12px 0 12px 28px;
    position: relative;
    border-bottom: 1px solid #f0f0f2;
}

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

.list-card ul li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 21px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0a84ff, #5e5ce6);
    box-shadow: 0 0 6px rgba(10, 132, 255, 0.4);
}

/* 联系方式 */
.contact {
    padding: 8px 28px;
}

.contact-row {
    display: flex;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f2;
}

.contact-row:last-child { border-bottom: none; }

.contact-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 16px;
    background: rgba(52, 199, 89, 0.14);
}

.contact-row:nth-child(2) .contact-icon { background: rgba(0, 122, 255, 0.12); }

.contact-label {
    font-size: 13px;
    color: #86868b;
    font-weight: 500;
    margin-right: auto;
    margin-left: 0;
}

.contact a {
    font-size: 15px;
    font-weight: 600;
    color: #007aff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.contact a:hover {
    color: #0060df;
}

/* Footer */
.footer {
    text-align: center !important;
    padding-top: 32px;
    border-top: 1px solid #e8e8ed;
    margin-top: 8px;
}

.footer p {
    text-align: center !important;
    margin: 0;
}

.footer .icp { margin-bottom: 10px; }

.footer .icp a {
    font-size: 12px;
    color: #aeaeb2;
    text-decoration: none;
    letter-spacing: 1px;
}

.footer .icp a:hover { color: #6e6e73; }

.footer .copyright {
    font-size: 12px;
    color: #aeaeb2;
}

/* Responsive */
@media (max-width: 768px) {
    .page { padding: 44px 36px 36px; }
    .site-title { font-size: 36px; }
    .module-group, .skill-group { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    body { background: #f5f5f7; }
    .wrapper { padding: 0; }
    .page {
        padding: 32px 22px 28px;
        border-radius: 0;
        box-shadow: none;
    }
    .header { margin-bottom: 36px; padding-bottom: 28px; }
    .site-title { font-size: 30px; }
    .logo-mark { width: 48px; height: 48px; }
    .main { margin-bottom: 32px; }
    section p { font-size: 14px; }
    .skill-group { grid-template-columns: 1fr; gap: 14px; }
    .module-group { grid-template-columns: 1fr; gap: 14px; }
    .module-item, .skill-cat { padding: 22px 24px; }
    .section-label { margin-top: 32px; }
}