/*
Theme Name: dianxin
Description: rox-dianxin
Author: rox
Version: 1.0
*/
/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

:root {
    --primary: #0066cc;
    --secondary: #f60;
    --accent: #ff3366;
    --light: #f5f7fa;
    --dark: #333;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

body {
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--light);
}

header {
    background: linear-gradient(135deg, var(--primary), #0055aa);
    color: white;
    padding: 20px 5%;
    position: relative;
    overflow: hidden;
}

.header-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 0;
}

.header-bg {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath fill='%23ffffff' fill-opacity='0.1' d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z'%3E%3C/path%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: 1;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}

.logo::before {
    content: "";
    display: inline-block;
    width: 30px;
    height: 30px;
    margin-right: 10px;
    background: radial-gradient(circle, #fff 10%, transparent 10%),
                radial-gradient(circle, #fff 10%, transparent 10%);
    background-position: 0 0, 10px 10px;
    background-size: 20px 20px;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.tagline {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 600px;
}

.btn {
    display: inline-block;
    background-color: var(--secondary);
    color: white;
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.btn:hover {
    background-color: #ff7300;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

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

.section-title {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title h2 {
    font-size: 2rem;
    display: inline-block;
    padding-bottom: 10px;
    position: relative;
}

.section-title h2::after {
    content: "";
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--accent);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.plans-container {
    margin-bottom: 60px;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.plan-card {
    background-color: white;
    border-radius: 12px;
    padding: 25px 20px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.popular {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--accent);
    color: white;
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: bold;
    transform: rotate(45deg) translate(15px, -15px);
    width: 150px;
}

.plan-type {
    font-size: 1.2rem;
    color: var(--primary);
    margin-bottom: 15px;
    font-weight: bold;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plan-speed {
    font-weight: bold;
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.plan-price {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--secondary);
}

.plan-price span {
    font-size: 0.9rem;
    color: #777;
}

.plan-features {
    list-style: none;
    margin: 15px 0;
    text-align: left;
    flex-grow: 1;
}

.plan-features li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
    font-size: 0.9rem;
    color: #555;
}

.plan-features li::before {
    content: "✓";
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.plan-cta {
    margin-top: auto;
}

.plan-btn {
    display: inline-block;
    background-color: var(--primary);
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
    width: 100%;
}

.plan-btn:hover {
    background-color: #0055aa;
    transform: translateY(-2px);
}

.plans-note {
    text-align: center;
    color: #777;
    font-size: 0.9rem;
    margin-top: 20px;
}

.compare-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: bold;
    margin-left: 5px;
    transition: color 0.3s ease;
}

.compare-link:hover {
    color: #0055aa;
    text-decoration: underline;
}

/* 促销区域样式 */
.promotion-section {
    background: linear-gradient(135deg, #ff8c42, #f05454);
    padding: 25px 0;
    color: white;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
}

.promotion-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath fill='%23ffffff' fill-opacity='0.1' d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z'%3E%3C/path%3E%3C/svg%3E");
    opacity: 0.1;
    z-index: 1;
}

.promotion-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.promo-title {
    margin-bottom: 15px;
}

.promo-title h2 {
    font-size: 1.8rem;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.promo-title p {
    font-size: 1rem;
    max-width: 450px;
    margin: 0 auto;
    opacity: 0.9;
}

.promo-timer {
    background: rgba(255, 255, 255, 0.15);
    max-width: 320px;
    margin: 0 auto;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.promo-timer p {
    font-size: 0.9rem;
    margin-bottom: 8px;
    font-weight: bold;
}

.countdown-container {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.countdown-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.countdown-number {
    font-weight: bold;
    font-size: 1.2rem;
    background: white;
    color: var(--secondary);
    padding: 6px 10px;
    border-radius: 6px;
    min-width: 35px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.countdown-label {
    font-size: 0.75rem;
    margin-top: 3px;
    opacity: 0.9;
}

.promo-cta {
    margin-top: 20px;
}

.promo-cta .btn {
    background-color: white;
    color: var(--secondary);
    font-size: 1.1rem;
    padding: 12px 30px;
}

.promo-cta .btn:hover {
    background-color: var(--secondary);
    color: white;
}

.features-section {
    background-color: white;
    padding: 60px 0;
}

.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.feature {
    flex: 1 1 300px;
    text-align: center;
    padding: 30px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature:hover {
    background-color: rgba(0, 102, 204, 0.05);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: rgba(0, 102, 204, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: var(--primary);
}

.feature h3 {
    margin-bottom: 15px;
    color: var(--primary);
}

/* 常见问题区域样式 */
.faq-section {
    background-color: #f8f9fa;
    padding: 60px 0;
}

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

.faq-item {
    margin-bottom: 20px;
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 20px 25px;
    background-color: white;
    color: var(--dark);
    font-weight: bold;
    font-size: 1.1rem;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question:hover {
    background-color: #f8f9fa;
}

.faq-question::after {
    content: "+";
    font-size: 1.5rem;
    font-weight: normal;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question {
    color: var(--primary);
}

.faq-item.active .faq-question::after {
    content: "−";
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    color: #555;
    font-size: 1rem;
}

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

/* 用户评价样式 */
.testimonials {
    background-color: #f0f4f8;
    padding: 60px 0;
}

.testimonials-container {
    overflow: hidden;
}

.testimonial-item {
    display: flex;
    align-items: stretch;
    margin-bottom: 25px;
    box-shadow: var(--shadow);
    border-radius: 12px;
    overflow: hidden;
    background: white;
}

.testimonial-item:nth-child(even) {
    flex-direction: row-reverse;
}

.testimonial-image {
    flex: 0 0 35%;
    background-color: var(--primary);
    color: white;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: white;
}

.testimonial-person h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.testimonial-person p {
    opacity: 0.9;
    font-size: 0.9rem;
}

.testimonial-content {
    flex: 0 0 65%;
    padding: 30px;
    position: relative;
}

.testimonial-content::before {
    content: "\201C";
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 5rem;
    color: rgba(0, 102, 204, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

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

.testimonial-rating {
    display: flex;
    color: #ffc107;
    font-size: 1.2rem;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary), #0055aa);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.cta-content p {
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.contact-form {
    max-width: 500px;
    margin: 0 auto;
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--dark);
    text-align: left;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

footer {
    background-color: var(--dark);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.footer-column {
    margin-bottom: 30px;
    text-align: left;
}

.footer-column h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: white;
}

.footer-column ul {
    list-style: none;
    margin-bottom: 15px;
}

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

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

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

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

.social-link {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #bbb;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.copyright {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #bbb;
}

/* 微信二维码浮窗样式 */
.wechat-float {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    padding: 15px;
    text-align: center;
    z-index: 1000;
    transition: all 0.3s ease;
}

.wechat-float:hover {
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.wechat-qrcode {
    width: 120px;
    height: 120px;
    background-color: #f5f5f5;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 3rem;
    color: var(--primary);
    border-radius: 5px;
}

.wechat-title {
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: var(--dark);
}

.wechat-id {
    font-size: 0.85rem;
    background-color: #f5f5f5;
    padding: 5px 10px;
    border-radius: 20px;
    margin-bottom: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.wechat-id:hover {
    background-color: #e5e5e5;
}

.wechat-tip {
    font-size: 0.75rem;
    color: #777;
}

.copy-success {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 0.9rem;
    z-index: 1001;
    display: none;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .plans-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}

@media (max-width: 992px) {
    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-card {
        flex: 1 1 calc(50% - 30px);
    }
    
    .testimonial-item {
        flex-direction: column !important;
    }
    
    .testimonial-image, .testimonial-content {
        flex: 0 0 100%;
    }
    
    .testimonial-image {
        padding: 20px;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    .header-content {
        padding: 20px 0;
    }
    
    .header-bg {
        display: none;
    }
    
    .plans-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .product-card {
        flex: 1 1 100%;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .wechat-float {
        display: none;
    }

    .promotion-section {
        padding: 20px 15px;
    }

    .promotion-content {
        padding: 15px;
    }

    .promo-title h2 {
        font-size: 1.4rem;
    }

    .promo-title p {
        font-size: 0.95rem;
    }

    .countdown-number {
        font-size: 1rem;
        min-width: 32px;
        padding: 5px 8px;
    }

    .countdown-label {
        font-size: 0.75rem;
    }

    .plan-card {
        padding: 20px 15px;
    }
    
    .plan-type {
        font-size: 1.1rem;
        height: 25px;
        margin-bottom: 12px;
    }
    
    .plan-speed {
        font-size: 1.1rem;
    }
    
    .plan-price {
        font-size: 1.8rem;
    }
    
    .plan-features li {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 1rem;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .plan-price {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .promo-title h2 {
        font-size: 1.3rem;
    }
    
    .promo-title p {
        font-size: 0.9rem;
    }
    
    .countdown-container {
        gap: 6px;
    }
    
    .countdown-number {
        font-size: 0.95rem;
        min-width: 30px;
        padding: 4px 6px;
    }
    
    .countdown-label {
        font-size: 0.7rem;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
} 