/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2563eb;          /* 质感蓝 */
    --secondary-color: #111827;        /* 深色标题 */
    --accent-color: #22c55e;
    --text-color: #111827;
    --text-light: #6b7280;
    --bg-color: #ffffff;
    --bg-light: #f8fafc;
    --border-color: #e5e7eb;
    --shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    --shadow-hover: 0 18px 45px rgba(15, 23, 42, 0.12);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.product-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 999px;
    background: white;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    cursor: default;
    font-size: 0.95rem;
    color: #4a4a4a;
}

.product-pill.active {
    border: 1px solid #2f80ed;
    box-shadow: 0 4px 14px rgba(47,128,237,0.18);
}

.product-name {
    font-weight: 600;
    margin-right: 8px;
}

.product-tag {
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 999px;
    background: #ff6b3d;
    color: #fff;
}

.product-tag.tag-soon {
    background: #27ae60;
}

/* 导航中的产品切换区域 */
.nav-product-switch {
    display: flex;
    gap: 1rem;
    align-items: center;
}

/* 重要公告条 */
.announcement-bar {
    background: linear-gradient(90deg, #e3f2ff 0%, #f0f5ff 100%);
    border-bottom: 1px solid #d6e4ff;
}

.announcement-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.6rem 0;
    font-size: 0.95rem;
}

.announcement-label {
    display: inline-flex;
    align-items: center;
    padding: 2px 10px;
    border-radius: 999px;
    background: #fffbe6;
    color: #d48806;
    font-weight: 600;
}

.announcement-icon {
    margin-right: 4px;
}

.announcement-highlight {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ff4d4f;
    text-shadow: 0 2px 4px rgba(255, 77, 79, 0.2);
    animation: pulse-glow 1s ease-in-out infinite;
    white-space: nowrap;
}

@keyframes pulse-glow {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.9;
    }
}

.announcement-text {
    color: #1f2d3d;
}

.announcement-text strong {
    color: #2f80ed;
}

/* 导航栏 */
.navbar {
    background: #fff;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #60a5fa, #2563eb);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease-out;
}

.nav-menu a:hover::after {
    transform: scaleX(1);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: all 0.3s;
}

/* Hero区域 */
.hero {
    background:
        radial-gradient(circle at top left, rgba(255, 255, 255, 0.75) 0, transparent 55%),
        linear-gradient(180deg, #e0f2ff 0%, #60a5fa 40%, #2563eb 100%);
    color: white;
    padding: 100px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    transition: text-shadow 0.35s ease, transform 0.35s ease;
    animation: fadeInUp 0.8s ease-out;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

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

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.8;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 1.2s ease-out 0.4s both;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-placeholder {
    background: rgba(15, 23, 42, 0.15);
    border-radius: 16px;
    padding: 1rem;
    backdrop-filter: blur(10px);
}

.hero-soft-image {
    cursor: pointer;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.45);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    animation: fadeInScale 1s ease-out 0.6s both;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}


.hero-soft-image:hover {
    transform: scale(1.06) translateY(-4px);
    box-shadow: 0 32px 80px rgba(15, 23, 42, 0.6);
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary {
    animation: btn-breathe 2.5s ease-in-out infinite;
}

@keyframes btn-breathe {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

.btn-primary:hover {
    background: #2980b9;
    transform: translateY(-3px) scale(1.08) !important;
    box-shadow: 0 8px 24px rgba(41, 128, 185, 0.4);
    animation: none;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px) scale(1.08);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}

.btn-danger {
    position: relative;
    background: #ff7a45;
    color: #fff;
    box-shadow: 0 8px 20px rgba(255, 122, 69, 0.4);
}

.btn-danger {
    animation: btn-pulse 2s ease-in-out infinite;
}

@keyframes btn-pulse {
    0%, 100% {
        box-shadow: 0 8px 20px rgba(255, 122, 69, 0.4);
    }
    50% {
        box-shadow: 0 8px 24px rgba(255, 122, 69, 0.6);
    }
}

.btn-danger:hover {
    background: #ff6a3c;
    transform: translateY(-3px) scale(1.08) !important;
    box-shadow: 0 12px 32px rgba(255, 106, 60, 0.65) !important;
    animation: none;
}

.btn-hot-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, #ff4d4f, #ff9f43);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 999px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    text-transform: uppercase;
}

/* 功能特性 */
.features {
    padding: 80px 0;
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 auto 3rem;
    color: var(--secondary-color);
    position: relative;
    display: block;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -12px;
    width: 48px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #60a5fa, #2563eb);
    transform: translateX(-50%) scaleX(0.4);
    opacity: 0.85;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.4rem;
}

.feature-card {
    position: relative;
    background: radial-gradient(circle at top left, #ffffff 0, #f9fbff 55%, #eef2ff 100%);
    padding: 2.4rem 2.2rem;
    border-radius: 22px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(148, 163, 184, 0.18);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(96, 165, 250, 0.18), transparent 60%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
    border-color: rgba(37, 99, 235, 0.4);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.feature-card:hover .feature-icon {
    transform: scale(1.15) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
}

/* 下载区域 */
.download {
    padding: 80px 0;
    background: white;
}

.download-content {
    max-width: 840px;
    margin: 0 auto;
    text-align: center;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: 2.5rem 3rem;
}

.download-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.download-info > p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

/* 售后服务弹窗 */
.support-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.support-modal.open {
    opacity: 1;
    pointer-events: auto;
}

.support-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.support-modal-body {
    position: relative;
    background: #f7fbff;
    border-radius: 24px;
    max-width: 480px;
    width: 90%;
    padding: 32px 24px 28px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    text-align: center;
}

.support-modal-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #2c3e50;
}

.support-modal-content {
    margin-top: 12px;
}

.support-modal-image {
    max-width: 260px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    margin-bottom: 16px;
}

.support-modal-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 20px;
}

.support-modal-download {
    padding: 12px 40px;
    font-size: 1rem;
}

.support-modal-close {
    position: absolute;
    right: 18px;
    top: 14px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}

.support-modal-close:hover {
    background: #ff6b6b;
    color: #fff;
}

.download-requirements {
    text-align: left;
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
}

.download-requirements h4 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.download-requirements ul {
    list-style: none;
    padding-left: 0;
}

.download-requirements li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.download-requirements li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

/* 常见问题 */
.faq {
    padding: 80px 0;
    background: var(--bg-light);
}

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

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(148, 163, 184, 0.18);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question h3 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    transition: max-height 0.5s ease-in;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* 页脚 */
.footer {
    background: var(--secondary-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .download-buttons {
        flex-direction: column;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 选中文本颜色 */
::selection {
    background: var(--primary-color);
    color: white;
}

