/* 全局样式 */
:root {
    --primary-color: #3a559f;
    --secondary-color: #4a6bbd;
    --dark-color: #1c2a54;
    --light-color: #f5f7ff;
    --gray-color: #5f6368;
    --border-color: #d0d8f0;
    --hover-color: #e8efff;
    --box-shadow: 0 5px 20px rgba(58, 85, 159, 0.15);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #fff;
    letter-spacing: 0.3px;
}

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

section {
    padding: 80px 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 14px 36px;
}

.btn-primary i {
    margin-right: 8px;
}

.btn-primary:hover {
    background-color: #2a4283;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(58, 85, 159, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 14px 36px;
}

.btn-secondary i {
    margin-right: 8px;
}

.btn-secondary:hover {
    background-color: var(--hover-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(58, 85, 159, 0.1);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 42px;
    margin-bottom: 10px;
    color: var(--dark-color);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.section-header .section-subtitle {
    font-size: 18px;
    color: var(--gray-color);
    margin-bottom: 15px;
    font-weight: 400;
}

.underline {
    height: 4px;
    width: 80px;
    background-color: var(--primary-color);
    margin: 0 auto;
    border-radius: 2px;
}

/* 导航栏 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--box-shadow);
    z-index: 1000;
    padding: 18px 0;
    border-bottom: 1px solid rgba(58, 85, 159, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo h1 {
    font-size: 28px;
    color: var(--dark-color);
    font-weight: 700;
    letter-spacing: 1px;
}

.logo h1 span {
    color: var(--primary-color);
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: var(--dark-color);
    font-weight: 600;
    padding: 5px 0;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 14px;
}

nav ul li a:hover {
    color: var(--primary-color);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

/* 首页横幅 */
.hero {
    padding-top: 180px;
    padding-bottom: 100px;
    background: linear-gradient(135deg, #f5f7ff 0%, #e4eaff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(58, 85, 159, 0.05) 0%, rgba(58, 85, 159, 0) 70%);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -10%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(58, 85, 159, 0.05) 0%, rgba(58, 85, 159, 0) 70%);
}

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

.hero-content {
    flex: 1;
    padding-right: 50px;
}

.hero-content h1 {
    font-size: 56px;
    margin-bottom: 24px;
    color: var(--dark-color);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.hero-content h1 .highlight {
    color: var(--primary-color);
    position: relative;
    display: inline-block;
}

.hero-content h1 .highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: rgba(58, 85, 159, 0.1);
    z-index: -1;
    border-radius: 5px;
}

.hero-content p {
    font-size: 20px;
    color: var(--gray-color);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 90%;
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    animation: float 3s ease-in-out infinite;
    height: 400px;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* 关于我们 */
.about {
    background-color: white;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(58, 85, 159, 0) 0%, rgba(58, 85, 159, 0.1) 50%, rgba(58, 85, 159, 0) 100%);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 60px;
    justify-content: space-between;
}

.about-image {
    flex: 0.8;
    border-radius: 16px;
    overflow: hidden;
    /* box-shadow: var(--box-shadow); */
    max-height: 350px;
    width: 100%;
}

.about-img {
    width: 100%;
    height: 350px;
    transition: transform 0.5s ease;
    object-fit: cover;
    object-position: center;
}

.about-img:hover {
    transform: scale(1.03);
}

.about-text {
    flex: 1.2;
}

.about-text h3 {
    font-size: 32px;
    margin-bottom: 24px;
    color: var(--dark-color);
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.about-text h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--gray-color);
}

.stats {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-item h4 {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 800;
}

.stat-item p {
    color: var(--gray-color);
    font-size: 16px;
    margin-bottom: 0;
}

/* 产品介绍 */
.products {
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.products::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(58, 85, 159, 0.05) 0%, rgba(58, 85, 159, 0) 70%);
    border-radius: 50%;
}

.products::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(58, 85, 159, 0.05) 0%, rgba(58, 85, 159, 0) 70%);
    border-radius: 50%;
}

.product-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.product-text {
    flex: 1;
}

.product-text h3 {
    font-size: 32px;
    margin-bottom: 24px;
    color: var(--dark-color);
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.product-text h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.product-text p {
    margin-bottom: 20px;
    color: var(--gray-color);
}

.product-features {
    margin-top: 30px;
}

.product-features li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.product-features li i {
    color: var(--primary-color);
    margin-right: 12px;
    font-size: 20px;
}

.product-image {
    flex: 1;
    text-align: center;
}

.product-image img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: var(--box-shadow);
}

.product-img {
    transition: transform 0.5s ease;
    object-fit: cover;
    height: 400px;
}

.product-img:hover {
    transform: scale(1.03);
}

/* 功能特点 */
.features {
    background-color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: white;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    border: 1px solid rgba(58, 85, 159, 0.08);
}

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

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--hover-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 10px 20px rgba(58, 85, 159, 0.1);
    border: 2px solid rgba(58, 85, 159, 0.1);
}

.feature-icon i {
    font-size: 30px;
    color: var(--primary-color);
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.feature-card p {
    color: var(--gray-color);
}

/* 下载App */
.download {
    background: linear-gradient(135deg, #3a559f 0%, #2a4283 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.download::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.download::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.download .section-header h2 {
    color: white;
}

.download .underline {
    background-color: white;
}

.download-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.download-text {
    flex: 1;
}

.download-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
    color: white;
}

.download-text p {
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.download-buttons {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    margin-top: 30px;
}

.download-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #333;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    height: 50px;
    width: 160px;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.download-btn i {
    font-size: 24px;
}

.download-btn span {
    display: flex;
    flex-direction: column;
}

.download-btn small {
    font-size: 12px;
    opacity: 0.8;
}

.qr-code {
    width: 160px;
    height: 160px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    transition: all 0.3s ease;
}

.qr-code:hover {
    animation: shake 0.5s ease;
}

@keyframes shake {
    0%, 100% {
        transform: translateY(0);
    }
    25% {
        transform: translateY(-5px);
    }
    75% {
        transform: translateY(5px);
    }
}

.download-image {
    flex: 1;
    text-align: center;
}

.download-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    perspective: 1200px;
    padding: 30px 0;
}

.download-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 20px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    filter: blur(5px);
    z-index: -1;
}

.phone-frame {
    position: relative;
    width: 220px;
    height: 440px;
    background: #111;
    border-radius: 36px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 10px;
    border: 1px solid #222;
    overflow: hidden;
}

.phone-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 60%);
    border-radius: 36px;
    z-index: 5;
    pointer-events: none;
}

.phone-screen {
    position: relative;
    width: 100%;
    height: 100%;
    background-color: #fff;
    border-radius: 28px;
    overflow: hidden;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 20px;
    background-color: #000;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    z-index: 10;
}

.phone-notch::after {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 8px;
    background-color: #333;
    border-radius: 50%;
}

.phone-button {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background-color: #333;
    border-radius: 2px;
    z-index: 10;
}

/* Side buttons */
.phone-frame::after {
    content: '';
    position: absolute;
    top: 100px;
    right: -2px;
    width: 3px;
    height: 30px;
    background-color: #222;
    border-radius: 2px 0 0 2px;
    box-shadow: 0 50px 0 #222, 0 100px 0 #222;
}

.download-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    border: none;
    box-shadow: none;
}

/* 用户评价 */
.testimonials {
    background-color: var(--light-color);
}

.testimonial-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0;
    scrollbar-width: none;
}

.testimonial-slider::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    background-color: white;
    border-radius: 16px;
    padding: 40px 35px;
    min-width: 350px;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(58, 85, 159, 0.08);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 20px;
    left: 25px;
    font-size: 60px;
    color: rgba(58, 85, 159, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
    color: var(--gray-color);
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.author-info h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.author-info p {
    font-size: 14px;
    color: var(--gray-color);
}

/* 联系我们 */
.contact {
    background-color: white;
}

.contact-content {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-item {
    display: flex;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-right: 20px;
    margin-top: 5px;
}

.contact-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.contact-item p {
    color: var(--gray-color);
}

.social-media {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-media a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--light-color);
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.social-media a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-5px);
}

.contact-form {
    flex: 1;
    background-color: var(--light-color);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--box-shadow);
    border: 1px solid rgba(58, 85, 159, 0.08);
}

.contact-form h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--dark-color);
}

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

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

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(58, 85, 159, 0.15);
}

.form-group textarea {
    height: 150px;
    resize: none;
}

/* 页脚 */
footer {
    background-color: #1c2a54;
    color: white;
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #3a559f, #4a6bbd, #3a559f);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1;
}

.footer-logo a {
    display: inline-block;
    text-decoration: none;
    color: inherit;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 15px;
}

.footer-logo h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: white;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    flex: 2;
    display: flex;
    justify-content: space-around;
}

.footer-links-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: white;
}

.footer-links-column ul li {
    margin-bottom: 10px;
}

.footer-links-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.footer-links-column ul li a:hover {
    color: white;
    padding-left: 5px;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 36px;
    }
    
    .about-content,
    .product-content,
    .download-content,
    .contact-content {
        flex-direction: column;
    }
    
    .about-image,
    .product-image,
    .download-image {
        margin-bottom: 30px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-logo {
        margin-bottom: 30px;
    }
    
    .footer-links {
        flex-direction: column;
    }
    
    .footer-links-column {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }
    
    .cta-buttons {
        justify-content: center;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .download-buttons {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 28px;
    }
    
    .stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .testimonial-card {
        min-width: 100%;
    }
}
