/* 1. 苹果风格全局重置 */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", "PingFang SC", sans-serif;
    background-color: #f5f5f0;
    color: #1d1d1f;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }

.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* 2. 磨砂玻璃导航栏 */
.site-header { padding: 20px 0; border-bottom: 1px solid rgba(0,0,0,0.1); }

.site-nav {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 999;
}

.nav-list { display: flex; list-style: none; justify-content: center; gap: 10px; }

.nav-list > li > a {
    display: block;
    padding: 8px 20px;
    color: #1d1d1f;
    font-size: 14px;
    border-radius: 20px; /* 圆角胶囊样式 */
    transition: all 0.3s ease;
}

.nav-list > li > a:hover {
    background-color: #f5f5f7;
    color: #0071e3;
}

/* 下拉菜单 */
.dropdown-menu {
    display: none;
    position: absolute;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 10px 0;
    min-width: 150px;
    border: 1px solid rgba(0,0,0,0.05);
}
.dropdown:hover .dropdown-menu { display: block; }

/* 3. 主体内容 - 极简卡片 */
.site-main { padding: 80px 0; }

h2 {
    font-size: 48px; font-weight: 600; text-align: center;
    margin-bottom: 60px !important; letter-spacing: -0.01em;
}

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }

.product-card {
    background: #f5f5f7;
    padding: 50px 30px;
    text-align: center;
    border-radius: 20px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.product-card:hover { transform: translateY(-10px); }

.product-card h3 { font-size: 24px; margin-bottom: 10px; }
.price { color: #86868b; font-size: 18px; margin-bottom: 20px; }

/* 购买按钮 */
.buy-btn {
    display: inline-block;
    padding: 10px 25px;
    background: #0071e3;
    color: #fff;
    border-radius: 20px;
    font-size: 14px;
}
.buy-btn:hover { background: #0077ed; }

/* 4. 页脚 */
.site-footer {
    background-color: #f5f5f7;
    color: #86868b;
    text-align: center;
    padding: 40px 0;
    font-size: 12px;
}
.glass-effect {
    background: rgba(255, 255, 255, 0.2); /* 半透明底色 */
    backdrop-filter: blur(20px);         /* 磨砂模糊 */
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3); /* 模拟光泽 */
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1); /* 轻微浮空感 */
    border-radius: 20px;
}
/* 雨滴容器 */
.rain-container {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; /* 让鼠标可以穿透雨滴点击后面的按钮 */
    z-index: 9999;
    overflow: hidden;
}

.drop {
    position: absolute;
    width: 2px; height: 15px;
    background: rgba(255, 255, 255, 0.3);
    animation: rain linear infinite;
}

@keyframes rain {
    0% { transform: translateY(-20px); }
    100% { transform: translateY(100vh); }
}
/* 强制把导航栏变模糊，并把雨滴强制置顶 */
.site-nav {
    background: rgba(255, 255, 255, 0.3) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.rain-container {
    z-index: 9999 !important;
    pointer-events: none;
}
/* 定义黑白渐变动画 */
:root {
    --text-color: #1d1d1f;      /* 默认黑色 */
    --bg-color: #ffffff;       /* 默认白色 */
}

