/* 全局样式 */
:root {
    --primary-color: #6842ff;
    --secondary-color: #5233ea;
    --accent-color: #00bfa5;
    --light-color: #f9fafc;
    --dark-color: #1e1e2c;
    --text-color: #454660;
    --border-color: #e0e6ed;
    --box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    --gradient-primary: linear-gradient(135deg, #6842ff, #896bff);
    --gradient-secondary: linear-gradient(135deg, #00bfa5, #00e5c8);
}

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

html, body {
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

ul {
    list-style: none;
}

.section-title {
    text-align: center;
    margin-bottom: 2.5rem;
    font-size: 2.5rem;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(104, 66, 255, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(104, 66, 255, 0.5);
}

.btn-primary:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-secondary);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.btn-primary:hover:after {
    opacity: 1;
}

/* 网站标题和Logo */
.site-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 60px;
}

.logo-placeholder {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.site-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.site-header .site-logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

/* 首页横幅 */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color) 100%);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 50px;
    overflow: visible;
}

.hero-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
    padding: 20px;
}

.hero-title {
    margin-bottom: 50px;
}

.hero-title h1 {
    font-size: 3.2rem;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: rgba(255, 255, 255, 0.95);
}

.hero-title h2 {
    font-size: 1.5rem;
    font-weight: 400;
    opacity: 0.85;
    margin-bottom: 30px;
}

.hero-title .login-btn {
    display: inline-block;
    padding: 14px 35px;
    font-size: 1.1rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.hero-title .login-btn:hover {
    transform: translateY(-2px);
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    max-width: 900px;
    margin: 40px auto;
}

.feature-item {
    display: flex;
    align-items: center;
    text-align: left;
    background: rgba(255, 255, 255, 0.08);
    padding: 25px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at var(--mouse-x, 0) var(--mouse-y, 0),
        rgba(255, 255, 255, 0.1) 0%,
        transparent 60%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

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

.feature-icon {
    font-size: 2.2rem;
    margin-right: 20px;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
}

.feature-text {
    flex: 1;
}

.feature-text h3 {
    font-size: 1.15rem;
    margin-bottom: 6px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.3px;
}

.feature-text p {
    font-size: 0.95rem;
    opacity: 0.8;
    line-height: 1.5;
    letter-spacing: 0.2px;
}

.login-btn {
    display: inline-block;
    padding: 14px 35px;
    font-size: 1.1rem;
    margin-top: 20px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.login-btn:hover {
    transform: translateY(-2px);
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.hero-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    pointer-events: none;
    z-index: 1;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 100%);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
}

.circle-1 {
    width: 800px;
    height: 800px;
    top: -300px;
    right: -200px;
    opacity: 0.6;
    animation: float 20s ease-in-out infinite;
}

.circle-2 {
    width: 600px;
    height: 600px;
    bottom: -200px;
    left: -100px;
    opacity: 0.5;
    animation: float 15s ease-in-out infinite reverse;
}

.circle-3 {
    width: 400px;
    height: 400px;
    top: 40%;
    right: 15%;
    opacity: 0.4;
    animation: float 18s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 30px;
        min-height: 100vh;
        height: auto;
        overflow: visible;
        width: 100vw;
    }

    .hero-content {
        padding: 15px;
        width: 100%;
        max-width: 100%;
    }

    .hero-features {
        margin: 40px 10px;
        width: auto;
        display: grid;
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .feature-item {
        width: 100%;
        margin: 0;
        padding: 20px;
    }

    .circle {
        position: absolute;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 20px 10px;
        width: 100vw;
    }

    .hero-content {
        padding: 10px;
        width: 100%;
    }

    .hero-features {
        margin: 30px 5px;
        gap: 12px;
    }

    .feature-item {
        padding: 15px;
        width: 100%;
        margin: 0;
    }
}

/* 服务内容 */
.services {
    padding: 100px 0;
    background-color: white;
    position: relative;
    overflow: hidden;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    color: var(--text-color);
}

.section-intro h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-intro h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.section-intro p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}

.service-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.service-box {
    background-color: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(104, 66, 255, 0.1);
}

.service-box:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(104, 66, 255, 0.1) 0%, rgba(0, 191, 165, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(104, 66, 255, 0.15);
}

.service-box:hover:before {
    opacity: 1;
}

.service-box i {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.service-box:hover i {
    transform: scale(1.1) rotate(5deg);
    color: var(--secondary-color);
}

.service-box h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--dark-color);
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.service-box:hover h3 {
    color: var(--primary-color);
}

.service-box h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 1.2rem;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.service-box p {
    color: var(--text-color);
    line-height: 1.7;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.service-box:hover p {
    color: var(--dark-color);
}

/* 装饰元素 */
.decoration-dots {
    position: absolute;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(var(--primary-color) 2px, transparent 2px);
    background-size: 20px 20px;
    opacity: 0.1;
    z-index: 1;
}

.dots-1 {
    top: 10%;
    left: 5%;
    transform: rotate(45deg);
}

.dots-2 {
    bottom: 10%;
    right: 5%;
    transform: rotate(-45deg);
}

/* 支持的软件 */
.software {
    padding: 100px 0;
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.software:before {
    content: '';
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 100px;
    background: var(--light-color);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    z-index: 2;
}

.software-boxes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.software-box {
    background-color: white;
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(104, 66, 255, 0.1);
}

.software-box:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(104, 66, 255, 0.05) 0%, rgba(0, 191, 165, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.software-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(104, 66, 255, 0.15);
}

.software-box:hover:before {
    opacity: 1;
}

.software-box img {
    width: 100px;
    height: 100px;
    margin-bottom: 25px;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}

.software-box:hover img {
    transform: scale(1.1) rotate(5deg);
}

.software-box h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.software-box:hover h3 {
    color: var(--primary-color);
}

.software-box p {
    color: var(--text-color);
    line-height: 1.7;
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

.software-box:hover p {
    color: var(--dark-color);
}

/* 软件图标特殊样式 */
.img-rectangle {
    width: 140px !important;
    height: 90px !important;
    object-fit: contain;
    padding: 10px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.img-square {
    width: 100px !important;
    height: 100px !important;
    object-fit: contain;
    padding: 10px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

/* 设备支持 */
.devices {
    padding: 100px 0;
    background-color: white;
    text-align: center;
    position: relative;
}

.devices:before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background: white;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    z-index: 1;
}

.devices .container {
    position: relative;
    z-index: 2;
}

.section-desc {
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #666;
}

.device-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    padding: 0 15px;
}

.device-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 30px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    width: calc(50% - 20px);
    min-width: 150px;
}

.device-icon i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.device-icon span {
    font-weight: 500;
    font-size: 1.1rem;
    color: var(--dark-color);
}

/* 服务特点 */
.features {
    padding: 100px 0;
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.features:before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background: var(--light-color);
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.feature {
    text-align: center;
    padding: 40px 30px;
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(104, 66, 255, 0.1);
}

.feature:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(104, 66, 255, 0.05) 0%, rgba(0, 191, 165, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.feature .feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(104, 66, 255, 0.08);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.feature:hover .feature-icon {
    transform: scale(1.1);
    background: rgba(104, 66, 255, 0.12);
}

.feature i {
    font-size: 2.8rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.feature:hover i {
    transform: scale(1.1);
}

.feature h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    font-weight: 600;
}

.feature p {
    color: var(--text-color);
    line-height: 1.8;
    font-size: 1rem;
    padding: 0 10px;
}

/* 页脚 */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 20px 0;
    position: relative;
}

.footer-bottom {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* 登录模态框 */
.modal {
    display: none;
    position: fixed;
    z-index: 1100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    overflow: auto;
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 40px;
    border-radius: 16px;
    max-width: 500px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.close {
    position: absolute;
    right: 25px;
    top: 20px;
    font-size: 30px;
    cursor: pointer;
    color: #aaa;
    transition: all 0.3s ease;
}

.close:hover {
    color: var(--dark-color);
    transform: rotate(90deg);
}

.tabs {
    display: flex;
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
}

.tab-btn {
    padding: 15px 25px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    transition: all 0.3s ease;
    position: relative;
}

.tab-btn:after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tab-btn.active {
    color: var(--primary-color);
}

.tab-btn.active:after {
    transform: scaleX(1);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(104, 66, 255, 0.2);
    outline: none;
}

/* 动画时间调整 */
.animate__animated.animate__delay-1s {
    animation-delay: 0.3s;
}

.animate__animated.animate__delay-2s {
    animation-delay: 0.6s;
}

.animate__animated.animate__delay-3s {
    animation-delay: 0.9s;
}

.animate__animated.animate__delay-4s {
    animation-delay: 1.2s;
}

.animate__animated.animate__delay-5s {
    animation-delay: 1.5s;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
    }
}

@media (max-width: 768px) {
    .hero-title h1 {
        font-size: 2.4rem;
        margin-bottom: 12px;
    }
    
    .hero-title h2 {
        font-size: 1.2rem;
        margin-bottom: 25px;
        padding: 0 15px;
    }
    
    .hero-title .login-btn {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
        gap: 15px;
        margin: 30px auto;
        padding: 0 15px;
    }
    
    .feature-item {
        padding: 20px;
    }
    
    .feature-icon {
        font-size: 1.8rem;
        width: 45px;
        height: 45px;
        margin-right: 15px;
    }
    
    .feature-text h3 {
        font-size: 1.1rem;
        margin-bottom: 4px;
    }
    
    .feature-text p {
        font-size: 0.9rem;
        opacity: 0.75;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        gap: 20px;
        padding: 0 15px;
    }
    
    .feature {
        padding: 30px 20px;
    }
    
    .feature .feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }
    
    .feature i {
        font-size: 2.2rem;
    }
    
    .feature h3 {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    .feature p {
        font-size: 0.95rem;
        line-height: 1.6;
        padding: 0;
    }
}

@media (max-width: 480px) {
    .hero-title h1 {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .hero-title h2 {
        font-size: 1.1rem;
        margin-bottom: 20px;
        padding: 0 10px;
    }
    
    .hero-title .login-btn {
        padding: 10px 25px;
        font-size: 0.95rem;
    }
    
    .hero-features {
        gap: 12px;
        margin: 25px auto;
        padding: 0 12px;
    }
    
    .feature-item {
        padding: 15px;
    }
    
    .feature-icon {
        font-size: 1.6rem;
        width: 40px;
        height: 40px;
        margin-right: 12px;
    }
    
    .feature-text h3 {
        font-size: 1rem;
        margin-bottom: 3px;
    }
    
    .feature-text p {
        font-size: 0.85rem;
        opacity: 0.7;
    }
    
    .features-grid {
        gap: 15px;
        padding: 0 12px;
    }
    
    .feature {
        padding: 25px 15px;
    }
    
    .feature .feature-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 15px;
    }
    
    .feature i {
        font-size: 1.8rem;
    }
    
    .feature h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    
    .feature p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

/* 添加星畅云高亮样式 */
.highlight-text {
    color: #fff;
    font-weight: 800;
    font-size: 1.15em;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
    margin: 0 2px;
}

.highlight-text:after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(255, 255, 255, 0.9);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.highlight-text:hover:after {
    transform: scaleX(1);
} 