/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f5f5f5;
}

a {
    text-decoration: none;
    color: #3370FF;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #3370FF;
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: #2860e0;
}

.btn-secondary {
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid #ddd;
}

.btn-secondary:hover {
    background-color: #e5e5e5;
}

.btn-outline {
    background-color: transparent;
    color: #3370FF;
    border: 1px solid #3370FF;
}

.btn-outline:hover {
    background-color: #f0f5ff;
}

.btn-large {
    padding: 14px 28px;
    font-size: 18px;
}

/* 头部样式 */
.header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    flex: 0 0 auto;
}

.logo-placeholder {
    font-size: 24px;
    font-weight: bold;
    color: #3370FF;
}

.main-nav {
    flex: 1;
    margin-left: 40px;
}

.nav-list {
    display: flex;
}

.nav-item {
    margin-right: 30px;
}

.nav-item a {
    color: #333;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
}

.nav-item a:hover {
    color: #3370FF;
}

.nav-item.active a {
    color: #3370FF;
}

.nav-item.active a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #3370FF;
}

.download-btn {
    flex: 0 0 auto;
}

/* 英雄区域样式 */
.hero {
    padding: 80px 0;
    background-color: #f0f5ff;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hero-content {
    flex: 0 0 50%;
    padding-right: 40px;
}

.hero h1 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #222;
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #666;
}

.hero-actions {
    display: flex;
    align-items: center;
}

.version-info {
    margin-left: 20px;
    color: #666;
    font-size: 14px;
}

.hero-image {
    flex: 0 0 45%;
}

.image-placeholder {
    width: 100%;
    height: 350px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

/* 功能区域样式 */
.features {
    padding: 80px 0;
    background-color: white;
}

.features h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    overflow: hidden;
}

.feature-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.feature-card p {
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.feature-details {
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: auto;
}

.feature-details ul {
    margin-bottom: 15px;
}

.feature-details li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
    font-size: 14px;
    color: #555;
}

.feature-details li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #3370FF;
    font-weight: bold;
}

.btn-text {
    color: #3370FF;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.btn-text:after {
    content: "→";
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.btn-text:hover {
    color: #2860e0;
}

.btn-text:hover:after {
    transform: translateX(3px);
}

/* 下载区域样式 */
.download-section {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.download-section h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
}

.download-options {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.download-card {
    flex: 1;
    background-color: white;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

.download-card.featured {
    border: 2px solid #3370FF;
    transform: scale(1.05);
}

.featured-tag {
    position: absolute;
    top: -15px;
    right: 30px;
    background-color: #3370FF;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
}

.download-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.download-card p {
    color: #666;
    margin-bottom: 20px;
}

.feature-list {
    margin-bottom: 30px;
}

.feature-list li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #3370FF;
    font-weight: bold;
}

/* 用户评价区域样式 */
.testimonials {
    padding: 80px 0;
    background-color: white;
}

.testimonials h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
}

.testimonial-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 30px;
    padding-bottom: 30px;
    scrollbar-width: none; /* Firefox */
}

.testimonial-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Ensure Case Studies author names align at the same height */
.testimonial-card {
    flex: 0 0 calc(33.333% - 20px);
    scroll-snap-align: start;
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.testimonial-content {
    margin-bottom: 20px;
    flex-grow: 1; /* Allow content to expand and push author section down */
}

.testimonial-content p {
    font-style: italic;
    color: #555;
    position: relative;
    padding-left: 25px;
    min-height: 100px; /* Set minimum height to ensure alignment */
}

.testimonial-content p::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 40px;
    color: #3370FF;
    opacity: 0.2;
}

.testimonial-author {
    display: flex;
    align-items: center;
    border-top: 1px solid #eee;
    padding-top: 15px;
}

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 600;
    display: block;
    color: #333;
}

.author-title {
    font-size: 14px;
    color: #666;
}

.slider-dots {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    margin: 0 5px;
    cursor: pointer;
}

.dot.active {
    background-color: #3370FF;
}

/* FAQ区域样式 */
.faq {
    padding: 80px 0;
    background-color: #f5f5f5;
}

.faq h2 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 50px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: white;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
}

.faq-item.active .faq-question::after {
    content: '-';
}

.faq-answer {
    padding: 0 20px 20px;
    color: #666;
}

/* CTA区域样式 */
.cta {
    padding: 80px 0;
    background-color: #3370FF;
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta .btn-primary {
    background-color: white;
    color: #3370FF;
}

.cta .btn-primary:hover {
    background-color: #f0f0f0;
}

/* 页脚样式 */
.footer {
    background-color: #222;
    color: #aaa;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 18px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #aaa;
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: opacity 0.3s ease;
}

.social-link:hover {
    opacity: 0.8;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid #444;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #aaa;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

/* Add these styles for the new responsive images */
.responsive-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}

/* Hero section image */
.hero-image img {
    max-height: 450px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Testimonial images */
.testimonial-image {
    margin-bottom: 20px;
    text-align: center;
}

.testimonial-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    object-position: center top; /* Position to show faces better */
}

/* CTA section with image */
.cta .container {
    display: flex;
    align-items: center;
    gap: 30px;
}

.cta-content {
    flex: 1;
}

.cta-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.cta-image img {
    max-height: 350px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Adjust footer grid for 3 columns instead of 4 */
.footer-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* Update the code bracket design */
.code-bracket-symbol {
    width: 100%;
    height: 400px;
    background: transparent; /* Remove gradient background */
    border-radius: 10px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    /* Remove border by not adding it */
}

.code-bracket-symbol::before {
    content: "<";
    position: absolute;
    font-size: 180px; /* Make the symbols larger */
    font-weight: bold;
    font-family: "Consolas", "Monaco", monospace;
    color: rgba(51, 112, 255, 0.9); /* Change to blue color */
    text-shadow: 0 0 20px rgba(51, 112, 255, 0.4); /* Match the text color */
    transform: translateX(-30px) rotate(-10deg); /* Center and tilt */
    left: 50%;
    margin-left: -70px;
}

.code-bracket-symbol::after {
    content: "/>";
    position: absolute;
    font-size: 180px; /* Make the symbols larger */
    font-weight: bold;
    font-family: "Consolas", "Monaco", monospace;
    color: rgba(51, 112, 255, 0.9); /* Change to blue color */
    text-shadow: 0 0 20px rgba(51, 112, 255, 0.4); /* Match the text color */
    transform: translateX(30px) rotate(-10deg); /* Center and tilt */
    left: 50%;
    margin-left: -10px;
}

.bracket-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
}

.bracket-reflection {
    position: absolute;
    width: 140%;
    height: 140%;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0) 20%, 
        rgba(255, 255, 255, 0.05) 30%, 
        rgba(255, 255, 255, 0.1) 40%, 
        rgba(255, 255, 255, 0) 50%);
    transform: rotate(-45deg) translateX(-10%) translateY(-10%);
    animation: move-reflection 10s linear infinite;
}

@keyframes move-reflection {
    0% {
        transform: rotate(-45deg) translateX(-30%) translateY(-30%);
    }
    50% {
        transform: rotate(-45deg) translateX(5%) translateY(5%);
    }
    100% {
        transform: rotate(-45deg) translateX(-30%) translateY(-30%);
    }
}

.symbol-dot {
    background-color: rgba(255, 255, 255, 0.5);
    filter: blur(1px);
}

/* Add decorative elements */
.symbol-dots {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.symbol-dot {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
}

.dot-1 {
    width: 20px;
    height: 20px;
    top: 20%;
    left: 15%;
    animation: float 7s infinite;
}

.dot-2 {
    width: 15px;
    height: 15px;
    top: 60%;
    left: 20%;
    animation: float 5s infinite 1s;
}

.dot-3 {
    width: 25px;
    height: 25px;
    top: 30%;
    right: 15%;
    animation: float 8s infinite 0.5s;
}

.dot-4 {
    width: 10px;
    height: 10px;
    bottom: 20%;
    right: 25%;
    animation: float 6s infinite 1.5s;
}

@keyframes float {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0.4;
    }
    25% {
        transform: translateY(-15px) translateX(10px);
        opacity: 0.7;
    }
    50% {
        transform: translateY(0) translateX(20px);
        opacity: 0.4;
    }
    75% {
        transform: translateY(15px) translateX(10px);
        opacity: 0.7;
    }
    100% {
        transform: translateY(0) translateX(0);
        opacity: 0.4;
    }
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .download-options {
        flex-direction: column;
    }
    
    .download-card.featured {
        transform: none;
    }
}

@media (max-width: 768px) {
    .header .container {
        flex-wrap: wrap;
        height: auto;
        padding: 15px 20px;
    }
    
    .main-nav {
        order: 3;
        flex: 0 0 100%;
        margin-left: 0;
        margin-top: 15px;
    }
    
    .nav-list {
        flex-wrap: wrap;
    }
    
    .nav-item {
        margin-right: 15px;
        margin-bottom: 10px;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-content {
        flex: 0 0 100%;
        padding-right: 0;
        margin-bottom: 40px;
    }
    
    .hero-image {
        flex: 0 0 100%;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        margin-top: 20px;
        justify-content: center;
    }

    .cta .container {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonial-img {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .version-info {
        margin-left: 0;
        margin-top: 10px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
} 

/* Add styles to center the 'Recommended' tag and action buttons */
.featured-tag {
    text-align: center;
    width: 100%;
}

.download-card .btn {
    display: block;
    margin: 0 auto;
    width: fit-content;
} 

/* Fix the Recommended tag positioning and sizing */
.featured-tag {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #3370FF;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    text-align: center;
    width: auto;
} 