/* 基础样式 */
body {
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: var(--gd-gray-700);
    background-color: var(--gd-gray-100);
    line-height: 1.6;
}

/* 按钮样式 */
.btn {
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    padding: 10px 20px;
    font-size: 15px;
}

.btn-primary {
    background-color: var(--gd-primary);
    border-color: var(--gd-primary);
    color: white;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
}

.btn-primary:hover {
    background-color: var(--gd-dark);
    border-color: var(--gd-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 102, 204, 0.4);
}

.btn-secondary {
    background-color: var(--gd-secondary);
    border-color: var(--gd-secondary);
    color: white;
}

.btn-secondary:hover {
    background-color: #FF6600;
    border-color: #FF6600;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 153, 0, 0.3);
}

/* 标题样式 */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--gd-gray-700);
    line-height: 1.3;
}

.section-title {
    color: var(--gd-primary);
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 30px;
}

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

/* 导航栏 */
.navbar {
    background-color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 12px 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    font-size: 26px;
    font-weight: 800;
    color: var(--gd-primary);
    display: flex;
    align-items: center;
    text-decoration: none;
}

.navbar-logo {
    width: 44px;
    height: 44px;
    background-color: var(--gd-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    color: white;
    font-weight: bold;
    font-size: 22px;
}

.navbar.scrolled {
    padding: 8px 0;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

/* Hero区域 */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--gd-primary), var(--gd-dark));
    color: white;
    padding: 100px 0 80px;
    overflow: hidden;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxwYXRoIGZpbGw9IiNmZmYiIGZpbGwtb3BhY2l0eT0iMC4wOCIgc3Ryb2tlPSIjZmZmIiBzdHJva2Utd2lkdGg9IjEiIGQ9Ik0zNiAxOGMzLjMxNCAwIDYgMi42ODYgNiA2cy0yLjY4NiA2LTYgNi02LTIuNjg2LTYtNiAyLjY4Ni02IDYtNnptMCAyNGMzLjMxNCAwIDYgMi42ODYgNiA2cy0yLjY4NiA2LTYgNi02LTIuNjg2LTYtNiAyLjY4Ni02IDYtNnptLTE4LTJjMy4zMTQgMCA2IDIuNjg2IDYgNnMtMi42ODYgNi02IDYtNi0yLjY4Ni02LTYgMi42ODYtNiA2LTZ6Ii8+Cjwvc3ZnPg==');
    opacity: 0.2;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: white;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-shape {
    position: absolute;
    bottom: -30px;
    left: 0;
    right: 0;
    height: 60px;
    background-color: var(--gd-gray-100);
    border-radius: 100% 100% 0 0;
    z-index: 1;
}

/* 装饰元素 */
.badge {
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    background-color: var(--gd-secondary);
    color: white;
    display: inline-block;
    margin-bottom: 15px;
}

/* 亮点区块 */
.highlights {
    position: relative;
    margin-top: -50px;
    z-index: 2;
}

.highlight-card {
    background-color: white;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
    height: 100%;
}

.highlight-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 32px rgba(0, 102, 204, 0.15);
}

.highlight-card h3 {
    color: var(--gd-primary);
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.highlight-card p {
    color: var(--gd-gray-600);
    font-size: 1rem;
    line-height: 1.6;
}

/* 套餐详情 */
.plan-section {
    padding: 60px 0 80px;
    position: relative;
}

.plan-container {
    background-color: white;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.plan-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.plan-header {
    background: linear-gradient(135deg, var(--gd-primary), var(--gd-dark));
    color: white;
    padding: 40px 30px;
    text-align: center;
    position: relative;
}

.plan-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(to right, var(--gd-secondary), #FF3366);
}

.plan-header h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: white;
}

.plan-price-container {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin: 20px 0;
}

.plan-price {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    margin-right: 10px;
}

.plan-period {
    font-size: 1.2rem;
    margin-bottom: 8px;
    opacity: 0.9;
}

.plan-tag {
    display: inline-block;
    background-color: var(--gd-secondary);
    color: white;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-top: 10px;
}

.plan-features-container {
    display: flex;
    flex-wrap: wrap;
    padding: 15px 20px 5px;
    background-color: white;
    background-image: radial-gradient(var(--gd-light) 1px, transparent 1px);
    background-size: 15px 15px;
}

.plan-features-column {
    flex: 1;
    min-width: 240px;
    padding: 15px 15px;
    position: relative;
}

.plan-features-column:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 0;
    height: calc(100% - 40px);
    width: 1px;
    background-color: var(--gd-light);
}

@media (max-width: 768px) {
    .plan-features-column:not(:last-child)::after {
        display: none;
    }
    .plan-features-column {
        border-bottom: 1px solid var(--gd-light);
        padding-bottom: 30px;
        margin-bottom: 20px;
    }
    .plan-features-column:last-child {
        border-bottom: none;
        margin-bottom: 0;
        padding-bottom: 20px;
    }
}

.features-title {
    display: flex;
    align-items: center;
    color: var(--gd-primary);
    font-size: 1.3rem;
    margin-bottom: 18px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--gd-light);
    font-weight: 700;
}

.features-title i {
    margin-right: 10px;
    font-size: 1.4rem;
    background-color: var(--gd-light);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plan-cta {
    text-align: center;
    padding: 35px;
    background: linear-gradient(135deg, var(--gd-primary), var(--gd-dark));
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.plan-cta .btn-primary {
    font-size: 1.2rem;
    padding: 16px 45px;
    background-color: var(--gd-primary);
    color: white;
    font-weight: 700;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.plan-cta .btn-primary:hover {
    background-color: var(--gd-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.feature-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding: 10px 12px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.feature-item:hover {
    box-shadow: 0 5px 15px rgba(0, 102, 204, 0.1);
}

.feature-icon {
    color: var(--gd-primary);
    font-size: 1.3rem;
    margin-right: 15px;
    background-color: var(--gd-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.15);
}

.feature-text {
    flex: 1;
    line-height: 1.5;
}

.feature-highlight {
    color: var(--gd-primary);
    font-weight: 700;
    font-size: 1.1rem;
}

/* 优势区块 */
.advantages {
    padding: 80px 0;
    background-color: white;
}

.advantage-card {
    background-color: var(--gd-gray-100);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--gd-gray-200);
}

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

.advantage-icon {
    width: 70px;
    height: 70px;
    background-color: var(--gd-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--gd-primary);
    font-size: 28px;
}

/* 客户评价 */
.testimonials {
    padding: 80px 0;
    background-color: var(--gd-light);
}

.testimonial-card {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 5rem;
    color: var(--gd-gray-200);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-text {
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
    font-style: italic;
}

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

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

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

/* FAQ部分 */
.faq-section {
    padding: 80px 0;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

/* 移除顶部横线 */
/* .faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #4a6cf7, #1d3596);
} */

/* 装饰元素 */
.faq-section::after {
    content: '';
    position: absolute;
    top: 20%;
    right: -5%;
    width: 300px;
    height: 300px;
    background-color: rgba(74, 108, 247, 0.05);
    border-radius: 50%;
    z-index: 0;
}

.faq-section .container {
    position: relative;
    z-index: 1;
}

.section-title {
    position: relative;
    display: block;
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #4a6cf7, #1d3596);
    border-radius: 2px;
}

.accordion {
    --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(74, 108, 247, 0.25);
}

.accordion-item {
    margin-bottom: 24px;
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: none !important;
    background-color: white;
}

.accordion-item:hover {
    box-shadow: 0 12px 40px rgba(74, 108, 247, 0.15);
    transform: translateY(-5px);
}

.accordion-header {
    background-color: transparent;
    border-bottom: none !important;
}

.accordion-button {
    font-weight: 600;
    padding: 24px 30px;
    color: #333;
    font-size: 1.15rem;
    border-radius: 16px !important;
    transition: all 0.3s ease;
    background-color: white !important;
    position: relative;
    padding-left: 90px;
}

/* 不同问题使用不同图标 */
.accordion-item:nth-child(1) .accordion-button::before {
    content: '📝';
}

.accordion-item:nth-child(2) .accordion-button::before {
    content: '⏱️';
}

.accordion-item:nth-child(3) .accordion-button::before {
    content: '🔑';
}

.accordion-item:nth-child(4) .accordion-button::before {
    content: '📱';
}

.accordion-item:nth-child(5) .accordion-button::before {
    content: '➕';
}

.accordion-button::before {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(74, 108, 247, 0.1);
    color: #4a6cf7;
    border-radius: 50%;
}

.accordion-button:hover {
    color: #4a6cf7;
}

.accordion-button:not(.collapsed) {
    color: #4a6cf7;
    box-shadow: none !important;
}

/* 移除展开图标 */
.accordion-button::after {
    display: none;
}

.accordion-body {
    padding: 0 30px 24px 60px;
    background-color: white;
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
    border-top: none !important;
}

.accordion-body p {
    margin-bottom: 12px;
    position: relative;
}

.accordion-body p:last-child {
    margin-bottom: 0;
}

/* 为列表项添加样式 */
.accordion-body br {
    content: ' ';
    display: block;
    margin: 8px 0;
}

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

/* 页脚样式 */
footer {
    background-color: #4a6cf7;
    padding: 40px 0;
    text-align: center;
}

footer .footer-logo h3 {
    text-align: center !important;
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #fff;
    display: block;
    width: 100%;
}

footer .footer-logo + p {
    text-align: center !important;
    font-size: 1rem;
    color: #fff;
    max-width: 800px;
    margin: 0 auto 30px;
    line-height: 1.6;
    display: block;
    width: 100%;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* 横板客服信息样式 */
.horizontal-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.horizontal-contact .contact-item {
    display: flex;
    align-items: center;
    margin: 0 10px;
}

.horizontal-contact .contact-icon {
    margin-right: 8px;
    color: #fff;
}

.horizontal-contact .contact-item div {
    color: #fff;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .horizontal-contact {
        flex-direction: column;
        align-items: center;
    }
    .horizontal-contact .contact-item {
        margin: 5px 0;
    }
}

.accordion-collapse {
    animation: fadeIn 0.4s ease forwards;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }
    
    .accordion-button {
        padding: 20px 24px 20px 50px;
        font-size: 1rem;
    }
    
    .accordion-button::before {
        left: 24px;
        width: 32px;
        height: 32px;
        font-size: 1.2rem;
    }
    
    .accordion-body {
        padding: 0 24px 20px 50px;
    }
}

/* CTA部分 */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--gd-primary), var(--gd-dark));
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHZpZXdCb3g9IjAgMCA2MCA2MCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICAgIDxwYXRoIGZpbGw9IiNmZmYiIGZpbGwtb3BhY2l0eT0iMC4wOCIgc3Ryb2tlPSIjZmZmIiBzdHJva2Utd2lkdGg9IjEiIGQ9Ik0zNiAxOGMzLjMxNCAwIDYgMi42ODYgNiA2cy0yLjY4NiA2LTYgNi02LTIuNjg2LTYtNiAyLjY4Ni02IDYtNnptMCAyNGMzLjMxNCAwIDYgMi42ODYgNiA2cy0yLjY4NiA2LTYgNi02LTIuNjg2LTYtNiAyLjY4Ni02IDYtNnptLTE4LTJjMy4zMTQgMCA2IDIuNjg2IDYgNnMtMi42ODYgNi02IDYtNi0yLjY4Ni02LTYgMi42ODYtNiA2LTZ6Ii8+Cjwvc3ZnPg==');
    opacity: 0.2;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-section h2 {
    color: white;
    margin-bottom: 20px;
    font-size: 2.5rem;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    font-size: 1.1rem;
    padding: 12px 30px;
    border-radius: 30px;
    background-color: var(--gd-primary);
    border-color: var(--gd-primary);
    color: white;
    font-weight: 700;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background-color: var(--gd-dark);
    border-color: var(--gd-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 102, 204, 0.3);
}

/* 页脚 */
footer {
    background-color: var(--gd-gray-700);
    color: white;
    padding: 60px 0 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

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

.footer-logo h3 {
    color: white;
    font-size: 20px;
    font-weight: 700;
}

.footer-links h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 600;
}

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

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

.footer-links a {
    color: var(--gd-gray-300);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.footer-contact {
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-icon {
    margin-right: 10px;
    color: var(--gd-secondary);
    font-size: 18px;
}

.social-icons {
    display: flex;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background-color: var(--gd-gray-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-center;
    margin-right: 10px;
    color: white;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--gd-primary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    margin-top: 40px;
    border-top: 1px solid var(--gd-gray-600);
    color: var(--gd-gray-400);
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .plan-price {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .highlight-card {
        padding: 20px;
    }

    .cta-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 60px 0 80px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .plan-header {
        padding: 20px;
    }

    .plan-price {
        font-size: 1.8rem;
    }

    .plan-features {
        padding: 20px;
    }

    .section-title {
        font-size: 1.5rem;
    }
}

/* 加载动画 */
#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

#loader .spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--gd-light);
    border-top: 5px solid var(--gd-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}