/* 基础样式 */
:root {
    --rat-orange: #ff6b35;
    --rat-dark: #2d1b1b;
}

body {
    background: #fffaf0;
    font-family: 'Microsoft YaHei', sans-serif;
    margin: 0;
    padding: 0;
}

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

/* 导航栏样式 */
.navbar {
    background: var(--rat-dark) !important;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-brand {
    display: flex;
    align-items: center;
}

.brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
}

.brand-link i {
    margin-right: 10px;
    font-size: 1.8rem;
    color: var(--rat-orange);
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-item {
    margin-left: 20px;
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-link:hover, .nav-item.active .nav-link {
    color: white;
}

.nav-item.active .nav-link {
    color: var(--rat-orange);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* 面包屑导航样式 */
.breadcrumb {
    background: linear-gradient(to right, #fff8e1, #ffffff);
    border-radius: 0;
    border-bottom: 2px solid var(--rat-orange);
    padding: 12px 15px;
    font-size: 14px;
}

.breadcrumb-item.active {
    color: var(--rat-dark);
    font-weight: 500;
}

.breadcrumb-item a {
    color: var(--rat-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.breadcrumb-item a:hover {
    color: var(--rat-orange);
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: var(--rat-orange);
    font-weight: bold;
}

/* 英雄区域样式 */
.hero {
    display: flex;
    align-items: center;
    padding: 80px 0;
    background: linear-gradient(135deg, var(--rat-orange), #ff8c42);
    color: white;
    border-radius: 15px;
    margin: 20px 0;
}

.hero-content {
    flex: 1;
}

.hero-title {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    margin-bottom: 30px;
}

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

.hero-image img {
    max-width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* 功能区域样式 */
.features-section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 50px;
    color: var(--rat-dark);
}

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

.feature-card {
    background: white;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-radius: 15px;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--rat-orange);
}

.feature-icon {
    font-size: 3rem;
    color: var(--rat-orange);
    margin-bottom: 20px;
}

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

.feature-card p {
    color: #666;
    line-height: 1.6;
}

/* 比较表格样式 */
.comparison-section {
    padding: 80px 0;
}

.comparison-table {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.comparison-table table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.comparison-table th {
    background: var(--rat-dark);
    color: white;
    padding: 20px 15px;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
}

.comparison-table th:first-child {
    text-align: left;
    background: var(--rat-orange);
    width: 30%;
}

.comparison-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: var(--rat-dark);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:nth-child(even) {
    background: #f9f9f9;
}

.comparison-table .fa-check {
    color: #28a745;
    font-size: 1.2rem;
}

.comparison-table .fa-times {
    color: #dc3545;
    font-size: 1.2rem;
}

.comparison-table .price {
    font-weight: 700;
    font-size: 1.1rem;
}

.comparison-table .price.free {
    color: #28a745;
}

.comparison-table .price.paid {
    color: var(--rat-orange);
}

/* 用户评价样式 */
.reviews-section {
    padding: 80px 0;
    background: #f9f9f9;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
}

.review-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.review-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.review-info h4 {
    margin: 0 0 5px 0;
    color: var(--rat-dark);
}

.review-rating {
    color: #ffc107;
}

.review-card p {
    color: #666;
    line-height: 1.6;
}

/* 常见问题样式 */
.faq-section {
    padding: 80px 0;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f9f9f9;
}

.faq-question h3 {
    margin: 0;
    color: var(--rat-dark);
    font-size: 1.2rem;
}

.faq-question i {
    color: var(--rat-orange);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 300px;
}

.faq-answer p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* 下载区域样式 */
.download-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--rat-orange), #ff8c42);
    color: white;
    text-align: center;
    border-radius: 15px;
    margin: 20px 0;
}

.download-content h2 {
    color: white;
}

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

.download-note {
    margin-top: 20px;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* 页脚样式 */
.footer {
    background: var(--rat-dark);
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: var(--rat-orange);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.footer-section h4 {
    color: var(--rat-orange);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

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

.footer-section ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--rat-orange);
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.contact-info i {
    color: var(--rat-orange);
    margin-right: 10px;
    font-size: 1.1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    margin: 0;
    color: #aaa;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--rat-orange);
}

/* 按钮样式 */
.btn {
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s;
    margin-right: 15px;
    display: inline-block;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--rat-orange);
    color: white;
}

.btn-primary:hover {
    background: #e55a2b;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
    color: white;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: var(--rat-orange);
}

.btn-lg {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.download-buttons .btn {
    background: white;
    color: var(--rat-orange);
    margin: 0;
}

.download-buttons .btn:hover {
    background: var(--rat-dark);
    color: white;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--rat-dark);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 15px 0;
    }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 60px 0;
    }
    
    .hero-content {
        margin-bottom: 30px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-table {
        overflow-x: auto;
    }
    
    .comparison-table table {
        min-width: 600px;
    }
    
    .comparison-table th, .comparison-table td {
        padding: 10px 8px;
        font-size: 0.9rem;
    }
    
    .comparison-table th:first-child {
        width: 35%;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .download-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-links {
        justify-content: center;
    }
}

/* FAQ动画效果 */
.faq-answer.active {
    display: block !important;
}

.faq-question .fa-chevron-down.rotate {
    transform: rotate(180deg);
}