:root {
    --primary: #4F46E5;        /* 亮紫色 */
    --primary-light: #818CF8;
    --secondary: #06B6D4;      /* 青色 */
    --accent: #F43F5E;         /* 玫瑰红 */
    --text-main: #111827;
    --text-muted: #4B5563;
    --bg-color: #F8FAFC;
    --card-bg: rgba(255, 255, 255, 0.7);
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    position: relative;
    /* 提升页面渲染平滑度 */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 动态背景层次 */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
}

.shape {
    position: absolute;
    filter: blur(90px);
    opacity: 0.5;
    border-radius: 50%;
    animation: drift 20s infinite alternate ease-in-out;
}

.shape-1 {
    top: -10%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: var(--primary-light);
}

.shape-2 {
    bottom: -15%;
    right: -10%;
    width: 50vw;
    height: 50vw;
    background: var(--secondary);
    animation-delay: -7s;
}

.shape-3 {
    top: 40%;
    left: 30%;
    width: 40vw;
    height: 40vw;
    background: rgba(236, 72, 153, 0.3); /* 粉色点缀 */
    animation-delay: -12s;
}

@keyframes drift {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    100% { transform: translate(10%, 15%) scale(1.2) rotate(10deg); }
}

/* 主内容区 */
.container {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* 头部动画与排版 */
.hero {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(79, 70, 229, 0.1);
    color: var(--primary);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    border: 1px solid rgba(79, 70, 229, 0.2);
}

.title {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    /* 炫酷的渐变文字 */
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--primary-light));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: 2px;
    animation: shine 5s linear infinite;
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.subtitle {
    font-size: 1.3rem;
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.6;
    margin: 0 auto;
}

/* 产品介绍区域 */
.product-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    width: 100%;
    margin-bottom: 5rem;
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
    opacity: 0;
}

.product-content {
    flex: 1;
    max-width: 48%; /* 避免文字挤占视窗 */
}

.product-badge {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: linear-gradient(135deg, var(--accent), #f472b6);
    color: white;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    box-shadow: 0 4px 10px rgba(244, 63, 94, 0.3);
}

.product-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
    color: var(--text-main);
    font-weight: 900;
}

.product-content p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.features {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 8px 16px rgba(0,0,0,0.05);
    border: 1px solid rgba(255,255,255,0.8);
}

.feature-item span {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-main);
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.3);
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(79, 70, 229, 0.4);
    background: var(--primary-light);
}

.product-visual {
    flex: 1;
    perspective: 1000px;
    width: 100%;
}

.glass-window {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: -10px 20px 40px rgba(0,0,0,0.1);
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.glass-window:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.window-header {
    height: 30px;
    background: rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.window-body {
    display: flex;
    height: 300px;
    background: linear-gradient(135deg, rgba(255,255,255,0.7) 0%, rgba(255,255,255,0.3) 100%);
}

.mockup-sidebar {
    width: 25%;
    border-right: 1px solid rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.2);
}

.mockup-main {
    flex: 1;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mockup-header {
    height: 20px;
    border-radius: 6px;
    background: rgba(255,255,255,0.6);
    width: 40%;
}

.mockup-content {
    display: flex;
    gap: 1rem;
    flex: 1;
}

.mockup-card {
    flex: 1;
    background: rgba(255,255,255,0.4);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.4);
}

/* 玻璃拟态联系卡片 */
.contact-wrapper {
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
    opacity: 0;
}

.contact-card {
    background: var(--card-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 3rem 4rem;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.contact-card h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--text-main);
    font-weight: 700;
}

.contact-desc {
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    font-size: 1rem;
}

.contact-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    background: #ffffff;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.15);
    transition: transform 0.3s ease;
}

.contact-info:hover {
    transform: scale(1.05);
}

.icon-pulse {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.icon-pulse::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.4;
    z-index: -1;
    animation: pulse 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(2.5); opacity: 0; }
}

/* 底部样式 */
.footer {
    padding: 2rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.5);
}

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

.beian-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
    background: rgba(255, 255, 255, 0.6);
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid transparent;
}

.beian-link:hover {
    color: var(--primary);
    border-color: rgba(79, 70, 229, 0.2);
    background: white;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 900px) {
    .title { font-size: 3rem; }
    .subtitle { font-size: 1.1rem; }
    .contact-card { padding: 2.5rem 2rem; }
    .contact-info { padding: 1rem 2rem; font-size: 1.6rem; }
    .product-section {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }
    .product-content {
        max-width: 100%;
    }
    .features {
        justify-content: center;
    }
    .glass-window {
        transform: none;
    }
}

@media (max-width: 600px) {
    .title { font-size: 2.2rem; }
    .subtitle { font-size: 1rem; }
    .contact-card { padding: 2rem 1.5rem; }
    .contact-info { padding: 0.8rem 1.5rem; font-size: 1.3rem; flex-direction: column; gap: 0.5rem; border-radius: 20px; }
    .footer-content { flex-direction: column; gap: 0.5rem; text-align: center; }
}
