/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
}

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    color: #333;
    line-height: 1.6;
    position: relative;
}

/* 标题栏样式 */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 0.8rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 70px;
    white-space: nowrap;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 40px;
    width: auto;
    border-radius: 8px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: #5a67d8;
}

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

nav a {
    text-decoration: none;
    color: #4a5568;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

nav a:hover {
    color: #5a67d8;
    background: rgba(90, 103, 216, 0.1);
}

/* 主要内容区域 - 全屏滚动 */
.scroll-container {
    height: calc(100% - 130px); /* PC端减去顶部和底部高度 */
    overflow: hidden;
    position: relative;
    top: 70px; /* 标题栏高度 */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: y mandatory;
}

/* 移动端不显示页脚时的容器高度 */
@media (max-width: 768px) {
    .scroll-container {
        height: calc(100% - 70px); /* 只减去顶部高度 */
    }
}

/* 页面样式 */
.page {
    width: 100%;
    height: calc(100vh - 130px); /* PC端视口高度减去顶部和底部 */
    min-height: calc(100vh - 130px);
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    position: relative;
}

/* 移动端不显示页脚时的页面高度 */
@media (max-width: 768px) {
    .page {
        height: calc(100vh - 70px); /* 只减去顶部高度 */
        min-height: calc(100vh - 70px);
    }
}

/* 首页特定样式 */
#home {
    background-color: #f8fafc;
    text-align: center;
}

.home-logo {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    object-fit: cover;
    margin-bottom: 2rem;
    box-shadow: 0 8px 25px rgba(90, 103, 216, 0.15);
}

.main-title {
    font-size: 3rem;
    font-weight: 700;
    color: #5a67d8;
    margin-bottom: 1.5rem;
}

.subtitle {
    font-size: 1.4rem;
    color: #4a5568;
    margin-bottom: 3rem;
    min-height: 1.8em;
    max-width: 800px;
    line-height: 1.8;
}

.button-group {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.btn {
    display: inline-block;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s;
    padding: 1rem 2.5rem;
}

.primary-button {
    background-color: #5a67d8;
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(90, 103, 216, 0.3);
}

.primary-button:hover {
    background-color: #4c51bf;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(90, 103, 216, 0.4);
}

.secondary-button {
    background-color: transparent;
    color: #5a67d8;
    border: 2px solid #5a67d8;
}

.secondary-button:hover {
    background-color: rgba(90, 103, 216, 0.1);
    transform: translateY(-2px);
}

.learn-more {
    color: #7f8de8;
    font-size: 1rem;
    margin-bottom: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
    font-weight: 500;
}

.learn-more:hover {
    color: #5a67d8;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* 产品页面样式 */
#product {
    background-color: #fff;
    padding: 2rem;
    justify-content: flex-start;
    overflow-y: auto;
}

.product-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 1rem;
}

.product-header {
    text-align: center;
    margin-bottom: 3rem;
}

.product-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #4a5568;
    margin-bottom: 1rem;
}

.product-title span {
    color: #5a67d8;
    font-weight: 700;
}

.product-subtitle {
    font-size: 2.8rem;
    color: #494453;
    margin-bottom: 3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.rotating-text {
    background-color: #f8fafc;
    padding: 0.2rem 0.8rem;
    border-radius: 8px;
    color: #718096;
    display: inline-block;
    min-width: 200px;
    text-align: center;
}

.features-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    margin: 0 auto 3rem;
}

.feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    flex: 1;
    min-width: 250px;
    max-width: 280px;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    color: #5a67d8;
    margin-bottom: 1.5rem;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 1.5rem;
}

.divider {
    width: 50px;
    height: 3px;
    background-color: #e2e8f0;
    margin: 0 auto 1.5rem;
    border-radius: 3px;
}

.feature-description {
    color: #718096;
    font-size: 1rem;
    line-height: 1.7;
}

/* 移动端特性展示 */
.mobile-feature {
    display: none;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
    width: 100%;
    max-width: 600px;
}

.mobile-feature-icon {
    font-size: 2rem;
    color: #5a67d8;
    min-width: 40px;
}

.mobile-feature-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 0.5rem;
}

.mobile-feature-content p {
    color: #718096;
    font-size: 1rem;
    line-height: 1.6;
}

.product-footer {
    text-align: center;
    color: #7f8de8;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s;
    margin-top: auto;
    padding-bottom: 2rem;
}

.product-footer:hover {
    color: #5a67d8;
}

/* 移动端产品页面样式 */
@media (max-width: 768px) {
    #product {
        transform: scale(0.9);
        transform-origin: top center;
        width: 100vw;
        height: calc((100vh - 70px) * 0.9);
        min-height: calc((100vh - 70px) * 0.9);
        overflow: visible;
        padding: 1rem;
    }

    .product-content {
        padding: 0.5rem;
    }

    .product-title {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .product-subtitle {
        font-size: 1.8rem;
        flex-direction: column;
        margin-bottom: 2rem;
    }

    .rotating-text {
        min-width: 180px;
        margin: 0.5rem 0;
        font-size: 1.5rem;
    }

    .features-container {
        display: none;
    }

    .mobile-feature {
        display: flex;
    }
}

/* 软件页面样式 */
#soft {
    background-color: #f8fafc;
    padding: 2rem;
    justify-content: flex-start;
    overflow-y: auto;
}

.soft-container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 3rem;
}

.soft-left {
    flex: 1;
    min-width: 300px;
}

.soft-right {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.soft-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #5a67d8;
    margin-bottom: 2rem;
    text-align: center;
}

.soft-subtitle {
    font-size: 1.8rem;
    color: #4a5568;
    margin-bottom: 2rem;
    line-height: 1.5;
}

/* 自定义选择框样式 */
.custom-select {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin-bottom: 2rem;
}

.select-selected {
    background-color: white;
    border-radius: 8px;
    padding: 1rem;
    cursor: pointer;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.select-selected:after {
    content: "▼";
    font-size: 0.8rem;
    color: #5a67d8;
    transition: transform 0.3s;
}

.select-selected.select-arrow-active:after {
    transform: rotate(180deg);
}

.select-selected:hover {
    border-color: #5a67d8;
}

.select-items {
    position: absolute;
    background-color: white;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    border-radius: 8px;
    margin-top: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.select-items.show {
    max-height: 300px;
    overflow-y: auto;
}

.select-item {
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 1px solid #f1f5f9;
}

.select-item:last-child {
    border-bottom: none;
}

.select-item:hover {
    background-color: rgba(90, 103, 216, 0.1);
    color: #5a67d8;
}

.select-item.selected {
    background-color: rgba(90, 103, 216, 0.1);
    color: #5a67d8;
}

.interface-tabs {
    display: flex;
    background: white;
    border-radius: 12px;
    padding: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 1rem;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.interface-tabs::-webkit-scrollbar {
    display: none;
}

.tab-item {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 90px;
}

.tab-item.active {
    background-color: rgba(90, 103, 216, 0.1);
}

.tab-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #a0aec0;
}

.tab-item.active .tab-icon {
    color: #5a67d8;
}

.tab-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: #a0aec0;
}

.tab-item.active .tab-text {
    color: #5a67d8;
}

.interface-carousel {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background-color: white;
}

.carousel-inner {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
}

.carousel-item {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8fafc;
}

.carousel-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.carousel-control:hover {
    background-color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-control.prev {
    left: 20px;
}

.carousel-control.next {
    right: 20px;
}

.carousel-control i {
    color: #5a67d8;
    font-size: 1.2rem;
}

.soft-footer {
    text-align: center;
    color: #7f8de8;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s;
    margin-top: 2rem;
}

.soft-footer:hover {
    color: #5a67d8;
}

/* 移动端软件页面样式 */
@media (max-width: 768px) {
    #soft {
        transform: scale(0.9);
        transform-origin: top center;
        width: 100vw;
        height: calc((100vh - 70px) * 0.9);
        min-height: calc((100vh - 70px) * 0.9);
        overflow: visible;
    }
    
    .soft-container {
        flex-direction: column;
        gap: 1.5rem;
        width: 100%;
        height: 100%;
    }
    
    .soft-left {
        width: 100%;
        display: none;
    }
    
    .soft-title {
        font-size: 2.2rem;
        margin-bottom: 1.5rem;
    }
    
    .soft-subtitle {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }
    
    .interface-tabs {
        padding: 0.5rem;
        justify-content: flex-start;
        touch-action: pan-y;
        overflow-x: auto;
        overflow-y: hidden;
    }
    
    .tab-item {
        min-width: 80px;
    }
    
    .interface-carousel {
        height: calc(100% - 120px);
        flex-grow: 1;
    }
    
    .carousel-item img {
        max-width: 90%;
        max-height: 90%;
    }
}

/* 其他页面样式 */
.page-title {
    font-size: 2.5rem;
    color: #4a5568;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.page-content {
    font-size: 1.2rem;
    color: #718096;
    max-width: 800px;
    text-align: center;
}

/* 页脚样式 */
footer {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    height: 60px;
}
footer a{
    text-decoration: none;
}
/* 移动端隐藏页脚 */
@media (max-width: 768px) {
    footer {
        display: none;
    }
}

.copyright {
    color: #4a5568;
    font-size: 0.9rem;
}

.back-to-top {
    background: #5a67d8;
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
    font-weight: 500;
}

.back-to-top:hover {
    background: #4c51bf;
}

/* 动画定义 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 意见反馈页面样式 */
.opinion-container {
    display: flex;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    gap: 3rem;
}

.opinion-left {
    flex: 1;
    min-width: 0;
}

.opinion-right {
    flex: 1;
    min-width: 0;
}

.opinion-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #5a67d8;
    margin-bottom: 1.5rem;
}

.opinion-subtitle {
    font-size: 1.4rem;
    color: #4a5568;
    margin-bottom: 3rem;
    line-height: 1.6;
}

.opinion-cards {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.opinion-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.opinion-card i {
    font-size: 1.5rem;
    color: #5a67d8;
    margin-top: 0.3rem;
}

.opinion-card p {
    color: #4a5568;
    line-height: 1.6;
}

.privacy-title {
    font-size: 1.8rem;
    color: #4a5568;
    margin-bottom: 2rem;
    font-weight: 600;
}

.privacy-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.privacy-list li {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.privacy-list i {
    font-size: 1.3rem;
    color: #5a67d8;
    margin-top: 0.2rem;
}

.privacy-list span {
    display: block;
    font-weight: 500;
    color: #2d3748;
    margin-bottom: 0.3rem;
}

.privacy-list small {
    display: block;
    color: #718096;
    font-size: 0.9rem;
    line-height: 1.5;
}

.opinion-footer {
    text-align: center;
    color: #7f8de8;
    font-size: 1.1rem;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.3s;
    margin-top: 3rem;
}

.opinion-footer:hover {
    color: #5a67d8;
}

/* 开发团队页面样式 */
#team {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f8fafc;
}

.team-container {
    text-align: center;
    max-width: 800px;
    padding: 2rem;
}

.team-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #5a67d8; /* 蓝色标题 */
    margin-bottom: 2rem;
}

.team-box {
    background-color: rgba(200, 200, 200, 0.3); /* 浅灰色透明背景 */
    border-radius: 12px;
    padding: 2rem;
    margin: 0 auto 2rem;
    max-width: 400px;
    backdrop-filter: blur(10px);
}

.team-list {
    list-style: none;
    text-align: left;
    display: inline-block;
}

.team-list li {
    font-size: 1.5rem;
    color: #4a5568;
    margin: 1rem 0;
    padding-left: 1rem;
}

.team-contact {
    display: inline-block;
    color: #5a67d8;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border: 2px solid #5a67d8;
    border-radius: 8px;
    transition: all 0.3s;
    margin-top: 1rem;
}

.team-contact:hover {
    background-color: rgba(90, 103, 216, 0.1);
    transform: translateY(-2px);
}

/* 移动端开发团队页面样式 */
@media (max-width: 768px) {
    #team {
        transform: scale(0.9);
        transform-origin: top center;
        width: 100vw;
        height: calc((100vh - 70px) * 0.9);
        min-height: calc((100vh - 70px) * 0.9);
        overflow: visible;
    }
    
    .team-title {
        font-size: 2.2rem;
    }
    
    .team-list li {
        font-size: 1.3rem;
    }
}