:root {
    --primary-color: #f472b6;
    /* 淡粉色 */
    --primary-hover: #db2777;
    /* 较深的粉色用于Hover */
    --accent-color: #e879f9;
    /* 浅紫色作为点缀 */
    --bg-light: #fef2f2;
    /* 极淡的粉白背景底色 */
    --text-main: #4a044e;
    /* 深紫色字体，保持高对比度 */
    --text-muted: #831843;
    /* 中等深度的紫粉色，用于副标题和说明 */
    --glass-bg: rgba(255, 255, 255, 0.55);
    /* 亮色毛玻璃背景 */
    --glass-border: rgba(255, 255, 255, 0.8);
    /* 亮色毛玻璃边框 */
    --glass-shadow: 0 10px 40px -10px rgba(244, 114, 182, 0.2);
    /* 柔和的粉色投影 */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    min-height: 100vh;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

/* 动态背景光晕（柔情水粉色调） */
.glow-bg {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.65;
    animation: float 20s infinite ease-in-out alternate;
}

.glow-1 {
    width: 450px;
    height: 450px;
    background: #fbcfe8;
    /* 柔粉 */
    top: -100px;
    left: -100px;
}

.glow-2 {
    width: 350px;
    height: 350px;
    background: #e8bceb;
    /* 淡紫粉 */
    bottom: -50px;
    right: -50px;
    animation-delay: -5s;
}

.glow-3 {
    width: 550px;
    height: 550px;
    background: #ffe4e6;
    /* 玫瑰白 */
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -10s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(30px, 50px) scale(1.1);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

header {
    text-align: center;
    margin-bottom: 60px;
    padding: 60px 20px 20px;
}

.logo-wrapper {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    margin-bottom: 24px;
    box-shadow: 0 10px 25px rgba(244, 114, 182, 0.4);
}

.head-icon {
    font-size: 40px;
    color: white;
}

header h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(to right, #db2777, #9333ea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    font-weight: 500;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.product-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 35px 30px;
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--glass-shadow);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 255, 255, 0.85);
    border-color: #ffffff;
    box-shadow: 0 15px 35px rgba(244, 114, 182, 0.25), 0 0 20px rgba(255, 255, 255, 0.8);
}

.product-card:hover::before {
    opacity: 1;
}

.icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid var(--glass-border);
    margin-bottom: 24px;
    transition: all 0.3s ease;
    z-index: 2;
    position: relative;
    box-shadow: 0 4px 10px rgba(244, 114, 182, 0.1);
}

.product-card:hover .icon-wrapper {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-color: transparent;
    box-shadow: 0 6px 15px rgba(244, 114, 182, 0.4);
}

.icon-wrapper i {
    font-size: 28px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.product-card:hover .icon-wrapper i {
    color: #ffffff;
}

.card-content {
    z-index: 2;
    position: relative;
    width: 100%;
}

.product-card h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.product-card:hover h2 {
    color: var(--primary-hover);
}

.product-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 10px;
    opacity: 0.9;
}

.card-arrow {
    position: absolute;
    top: 35px;
    right: 30px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(244, 114, 182, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: translate(-10px, 10px);
    transition: all 0.4s ease;
    z-index: 2;
}

.card-arrow i {
    color: var(--primary-hover);
    font-size: 18px;
}

.product-card:hover .card-arrow {
    opacity: 1;
    transform: translate(0, 0);
    background: #ffffff;
    box-shadow: 0 4px 10px rgba(244, 114, 182, 0.15);
}

footer {
    text-align: center;
    padding: 30px 20px;
    border-top: 1px solid var(--glass-border);
    margin-top: 40px;
}

footer p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* 响应式调整 */
@media (max-width: 768px) {
    header {
        padding: 40px 15px 10px;
        margin-bottom: 40px;
    }

    header h1 {
        font-size: 2.5rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .glow-bg {
        filter: blur(80px);
    }

    .glow-1 {
        width: 300px;
        height: 300px;
    }

    .glow-2 {
        width: 250px;
        height: 250px;
    }

    .glow-3 {
        width: 350px;
        height: 350px;
    }
}