/* 基础变量定义 */
:root {
    --bg: #fafafa;
    --text: #2a2a2a;
    --text-light: #666;
    --card-bg: #ffffff;
    --border: #e0e0e0;
    --primary: #1c94ff;
    --primary-light: #4a72d9;
    --secondary: #2d4ca3;
    --accent: #f5f7ff;
    --shadow: rgba(0, 0, 0, 0.05);
    --shadow-strong: rgba(0, 0, 0, 0.1);
    /* 液体渐变颜色 - 修改为青蓝色系 */
    --liquid-1: #2efaec;
    --liquid-2: #5baaff;
    --liquid-3: #bbf3ff;
    --liquid-4: #374bff;
    --section-bg-light: #ffffff;
    --section-bg-light-dark: #2a2a2a; /* 暗色模式下的对应色值 */
}
[data-theme="dark"] {
    --bg: #1a1a1a;
    --text: #f0f0f0;
    --text-light: #b0b0b0;
    --card-bg: #242424;
    --border: #333;
    --primary: #4a72d9;
    --primary-light: #5a81e9;
    --secondary: #3a63c9;
    --accent: #2d3748;
    --shadow: rgba(0, 0, 0, 0.2);
    --shadow-strong: rgba(0, 0, 0, 0.3);
    /* 深色模式液体渐变 - 青蓝色系 */
    --liquid-1: #1a5276;
    --liquid-2: #154360;
    --liquid-3: #1a5276;
    --liquid-4: #2980b9;
}
[data-theme="dark"] .section-bg-w {
    background-color: var(--section-bg-light-dark);
}
/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background-color: var(--bg);
    color: var(--text);
    font-family: "Inter", "Helvetica Neue", "Microsoft YaHei", sans-serif;
    line-height: 1.65;
    transition: background-color 0.3s ease, color 0.3s ease;
}
h1, h2, h3, h4, h5 {
    color: var(--text);
    font-weight: 600;
    line-height: 1.3;
}
a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover {
    color: var(--secondary);
    text-decoration: none;
}
.text-light {
    color: var(--text-light) !important;
}
/* 布局容器 */
.container-lg {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.25rem;
}
/* 导航栏 */
.navbar {
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 0.8rem 0;
}
[data-theme="dark"] .navbar {
    background: rgba(26, 26, 26, 0.85);
}
.navbar-brand-img-1 {
    height: 38px;
    transition: transform 0.2s ease;
}
.navbar-brand-img-2{
    height: 20px;
    transition: transform 0.2s ease;
}
.nav-link {
    color: var(--text) !important;
    margin: 0 1rem;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.25s ease;
}
.nav-link:hover::after {
    width: 100%;
}
/* 暗色模式按钮 */
.theme-toggle {
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}
[data-theme="dark"] .theme-toggle:hover {
    background-color: rgba(255, 255, 255, 0.05);
}
/* 登录按钮样式优化 */
.login-btn {
    background-color: var(--primary);
    color: white !important;
    border-radius: 20px;
    padding: 0.4rem 1.2rem;
    font-size: 0.9rem;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(58, 99, 201, 0.2);
    margin-left: 1rem;
    display: inline-flex;
    align-items: center;
}
.login-btn:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(58, 99, 201, 0.25);
}
.login-btn i {
    margin-right: 0.3rem;
    font-size: 0.95rem;
}
/* 主视觉区域 */
.hero {
    position: relative;
    padding: 180px 0 140px;
    text-align: center;
    overflow: hidden;
    margin-top: 60px;
}
/* 液体渐变动画效果 */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(130deg, var(--liquid-1), var(--liquid-2), var(--liquid-3), var(--liquid-4));
    background-size: 400% 400%;
    animation: liquidFlow 15s ease infinite;
    z-index: -1;
    opacity: 0.9;
    clip-path: ellipse(75% 80% at 50% 50%);
}
@keyframes liquidFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}
.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
    letter-spacing: -0.02em;
    opacity: 0;
    animation: fadeInDown 0.8s ease forwards;
}
.hero p {
    font-size: 1.25rem;
    color: #ffffff;
    opacity: 0.9;
    margin: 0 auto 2.5rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.3s forwards;
}
.btn-primary {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 0.85rem 2.2rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(58, 99, 201, 0.2);
}
.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(58, 99, 201, 0.25);
}
.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
    padding: 0.85rem 2.2rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.25s ease;
}
.btn-outline:hover {
    background-color: var(--accent);
    border: 1px solid var(--primary);
    transform: translateY(-2px);
}
/* 公告栏样式 */
.announcement-bar {
    background-color: var(--accent);
    padding: 0.8rem 0;
    overflow: hidden;
}
.announcement-content {
    display: flex;
    align-items: center;
    width: 100%;
}
.announcement-icon {
    display: flex;
    align-items: center;
    margin-right: 1.5rem;
    font-weight: 600;
    white-space: nowrap;
    color: var(--primary);
}
.announcement-icon i {
    font-size: 1.2rem;
    margin-right: 0.5rem;
}
.announcement-label {
    font-size: 1rem;
}
.announcement-scroll {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 24px;
}
.announcement-text {
    position: absolute;
    white-space: nowrap;
    animation: scroll-left 25s linear infinite;
    font-size: 0.95rem;
}
.announcement-bar:hover .announcement-text {
    animation-play-state: paused;
    cursor: pointer;
}
.announcement-text:hover {
    color: var(--primary);
}
@keyframes scroll-left {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}
/* 通用模块间距 */
section {
    padding: 8rem 0;
}
/* 统一标题样式 - 全部居中 */
.section-title {
    text-align: center;
    margin-bottom: 1.2rem;
    position: relative;
    font-size: 2.2rem;
}
.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
    color: var(--text-light);
    font-size: 1.1rem;
}
.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--primary);
    margin: 1rem auto 0;
    border-radius: 2px;
}
/* 定价选项卡样式 */
.pricing-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 1.2rem;
    margin-top: 1.8rem;
    gap: 1rem;
}
.tab-btn {
    padding: 0.4rem 2rem;
    font-size: 1.1rem;
    font-weight: 500;
    background: var(--accent);
    color: var(--text);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}
.tab-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}
.tab-btn:hover:not(.active) {
    background: var(--primary-light);
    color: white;
    transform: translateY(-2px);
}

/* 定价内容容器 */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}
#team-pricing {
    grid-template-columns: repeat(4, 1fr);
}

.tab-content {
    display: none;
}
.tab-content.active {
    display: grid;
}

/* 角色支持 - 图文混排 */
.role-row {
    display: flex;
    align-items: center;
    gap: 6rem;
    margin-bottom: 8rem;
}

.role-row:last-child {
    margin-bottom: 0;
}

.role-row.reverse {
    flex-direction: row-reverse;
}

.role-content {
    flex: 1;
    max-width: 550px;
}

.role-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.2rem;
    opacity: 0.9;
}

.role-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
}

.role-content p {
    color: var(--text-light);
    margin-bottom: 1.8rem;
    font-size: 1.05rem;
}

.role-content ul {
    padding-left: 1.5rem;
    margin-bottom: 1.8rem;
}

.role-content li {
    color: var(--text-light);
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 0.5rem;
}

.role-img {
    flex: 1;
    text-align: center;
}

.role-img img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 15px 35px var(--shadow-strong);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.role-img img:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px var(--shadow-strong);
}

/* 核心功能 - 一行四列 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}
.feature-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 10px 25px var(--shadow);
    border: 1px solid var(--border);
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}
.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px var(--shadow-strong);
}
.feature-card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.2rem;
    opacity: 0.9;
}
.feature-card h4 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}
.feature-card p {
    font-size: 1rem;
    color: var(--text-light);
}
/* 新闻资讯 - 一行三列 */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}
.news-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px var(--shadow);
    border: 1px solid var(--border);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}
.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px var(--shadow-strong);
}
.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.news-card:hover img {
    transform: scale(1.05);
}
.news-img-container {
    overflow: hidden;
}
.news-content {
    padding: 1.8rem;
}
.news-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    transition: color 0.2s ease;
}
.news-card:hover .news-title {
    color: var(--primary);
}
.news-meta {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}
.news-meta i {
    margin-right: 0.3rem;
    font-size: 0.85rem;
}
.view-more {
    text-align: center;
    margin-top: 3rem;
}
.view-more a {
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: transform 0.2s ease;
}
.view-more a:hover {
    transform: translateX(3px);
}
.view-more a i {
    margin-left: 0.5rem;
    transition: margin-left 0.2s ease;
}
.view-more a:hover i {
    margin-left: 0.8rem;
}
/* 教程卡片 - 一行四列 */
.tutorials-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}
.tutorial-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.8rem;
    box-shadow: 0 10px 25px var(--shadow);
    border: 1px solid var(--border);
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}
.tutorial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px var(--shadow-strong);
}
.tutorial-card img {
    border-radius: 8px;
    max-width: 100%;
    margin-bottom: 1.2rem;
    height: 160px;
    object-fit: cover;
}
.tutorial-card h4 {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    transition: color 0.2s ease;
}
.tutorial-card:hover h4 {
    color: var(--primary);
}
.tutorial-card p {
    font-size: 1rem;
    color: var(--text-light);
}
/* 定价 - 通用卡片样式 */
.pricing {
    position: relative;
    overflow: hidden;
}
.pricing-header {
    text-align: center;
    padding: 0 1rem;
    margin-bottom: 4rem;
}
.pricing-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    animation: breathe 4s ease-in-out 0.5s infinite;
}
.pricing-card {
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 2.5rem;
    height: 100%;
    transition: all 0.3s ease;
    background: var(--card-bg);
    position: relative;
    display: flex;
    flex-direction: column;
}
.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: 0 15px 35px rgba(58, 99, 201, 0.15);
}
.pricing-card.popular::before {
    content: '免费体验';
    position: absolute;
    top: -1px;
    right: 20px;
    background: var(--primary);
    color: white;
    font-size: 0.8rem;
    padding: 0.2rem 1rem;
    border-radius: 0 0 6px 6px;
    font-weight: 500;
}
.pricing-card:hover {
    box-shadow: 0 15px 40px var(--shadow-strong);
    transform: translateY(-6px);
}
.pricing-card h4 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}
.price {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
}
.price span {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: normal;
}
.pricing-card p.subtitle {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1rem;
}
.pricing-card ul {
    padding-left: 0;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}
.pricing-card li {
    color: var(--text);
    margin-bottom: 1rem;
    list-style: none;
    display: flex;
    align-items: flex-start;
}
.pricing-card li i {
    color: var(--primary);
    margin-right: 0.8rem;
    margin-top: 0.3rem;
}
.pricing-card .btn {
    width: 100%;
    margin-top: auto;
}
/* 联系我们表单样式 */
.contact-us-section {
    padding: 6rem 0  10rem;
    margin-top: 2rem;
}
.section-bg-w{
    background-color: var(--section-bg-light);
}
.contact-form-container {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 15px 35px var(--shadow);
    border: 1px solid var(--border);
}
.form-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px 1.5rem;
}
.form-group {
    flex: 1;
    padding: 0 15px;
    min-width: 250px;
    margin-bottom: 1.5rem;
}
.form-group-bottom {
    flex: 1;
    min-width: 250px;
    margin-bottom: 1.5rem;
    padding: 0;
}
.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
    color: var(--text);
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1px solid var(--border);
    border-radius: 6px;
    background-color: var(--bg);
    color: var(--text);
    font-size: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(28, 148, 255, 0.1);
}
.form-group textarea {
    resize: vertical;
}
.form-submit {
    text-align: right;
    margin-top: 1.5rem;
}
/* 页脚 */
footer {
    padding: 6rem 0 3rem;
    border-top: 1px solid var(--border);
    color: var(--text-light);
    font-size: 0.95rem;
    background: var(--card-bg);
}
.footer-logo {
    height: 50px;
    margin-bottom: 1.5rem;
}
.footer-logo-2{
    height: 40px;
    margin-bottom: 1.5rem;
}
.footer-about p {
    line-height: 1.7;
    margin-bottom: 1.5rem;
    max-width: 300px;
}
.footer-contact {
    font-size: 0.95rem;
}
.footer-contact h5 {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}
.footer-contact div {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}
.footer-contact i {
    color: var(--primary);
}
.footer-ci{
    margin-right: 0.8rem;
}
/* 修复社交媒体图标居中 */
.footer-qr {
    text-align: center;
}
.footer-qr img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    background: white;
    padding: 6px;
    box-shadow: 0 5px 15px var(--shadow);
    margin-bottom: 0.8rem;
}
.footer-social {
    display: flex;
    margin-top: 1.5rem;
    padding-left: 0; /* 移除默认padding */
}
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--bg);
    border-radius: 50%;
    margin-right: 1rem;
    color: var(--text);
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}
.footer-social a:hover {
    transform: translateY(-3px);
}
.footer-links h5 {
    color: var(--text);
    font-weight: 600;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}
.footer-links a {
    color: var(--text-light);
    font-size: 0.95rem;
    display: block;
    margin-bottom: 0.8rem;
    transition: color 0.2s ease, transform 0.2s ease;
}
.footer-links a:hover {
    color: var(--primary);
    transform: translateX(3px);
}
.copyright {
    text-align: center;
    margin-top: 5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--text-light);
}
.copyright a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s ease;
}
.copyright a:hover {
    color: var(--primary);
}
/* 返回顶部和联系我们按钮样式 */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    gap: 12px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.floating-buttons.visible {
    opacity: 1;
    visibility: visible;
}
.back-to-top, .contact-us {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background-color: var(--primary);
    box-shadow: 0 4px 12px rgba(58, 99, 201, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}
.back-to-top:hover, .contact-us:hover {
    background-color: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(58, 99, 201, 0.4);
}
.contact-us:hover {
    background-color: var(--primary);
}
/* 动画效果 */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes breathe {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 0.6; }
}
/* 滚动显示动画 */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}
/* 响应式设计 */
@media (max-width: 1200px) {
    .features-grid, .tutorials-grid, .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 1024px) {
    .role-row {
        gap: 4rem;
    }
}
@media (max-width: 992px) {
    .role-row, .role-row.reverse {
        flex-direction: column;
        text-align: center;
    }
    .role-content, .role-img {
        width: 100%;
    }
    .role-img {
        margin-top: 2.5rem;
    }
    .role-content ul {
        padding-left: 0;
        list-style-position: inside;
    }
    .pricing-tabs {
        flex-wrap: wrap;
    }
    .tab-btn {
        flex: 1;
        min-width: 120px;
    }
    #team-pricing {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .hero p {
        font-size: 1.1rem;
    }
    .btn-primary, .btn-outline {
        display: block;
        width: 100%;
        margin: 0 0 1rem 0;
    }
    section {
        padding: 5rem 0;
    }
    .section-title, .pricing-title {
        font-size: 1.8rem;
    }
    .footer-grid {
        flex-direction: column;
        text-align: center;
    }
    .footer-about, .footer-contact, .footer-links, .footer-qr {
        margin-bottom: 3rem;
    }
    .footer-about p {
        margin-left: auto;
        margin-right: auto;
    }
    .footer-social {
        justify-content: center;
    }
    .copyright {
        margin-top: 3rem;
        padding-top: 1.5rem;
    }
    /* 移动端浮动按钮调整 */
    .floating-buttons {
        bottom: 20px;
        right: 20px;
    }
    .back-to-top, .contact-us {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    /* 公告栏响应式 */
    .announcement-label {
        display: none;
    }
    /* 联系表单响应式 */
    .contact-form-container {
        padding: 2rem 1.5rem;
    }
}
@media (max-width: 576px) {
    .features-grid, .news-grid, .tutorials-grid, .pricing-grid {
        grid-template-columns: 1fr;
    }
    .hero {
        padding: 140px 0 100px;
    }
    .navbar {
        padding: 0.6rem 0;
    }
    #team-pricing {
        grid-template-columns: 1fr;
    }
}