:root {
    --primary: #ff6a00;
    --primary-dark: #e55a00;
    --secondary: #4a4a8c;
    --light: #f8f9fa;
    --dark: #333;
    --gray: #6c757d;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, 'Microsoft YaHei', sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
header {
    background-color: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 40px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    margin-left: 10px;
    color: var(--primary);
}

.logo-text span {
    color: var(--secondary);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    padding: 5px 0;
}

nav ul li a:hover {
    color: var(--primary);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

.cta-button {
    background: var(--primary);
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.3s;
    display: inline-block;
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 106, 0, 0.3);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #4a4a8c 0%, #2c2c5e 100%);
    color: white;
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><polygon points="0,0 100,100 0,100" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: 100% 100%;
}

.hero-content {
    display: flex;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
    padding-right: 50px;
}

.hero-text h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-image {
    flex: 1;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-10deg);
    transition: transform 0.5s;
}

.hero-image img:hover {
    transform: perspective(1000px) rotateY(0);
}

.features {
    padding: 100px 0;
    background: white;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 36px;
    color: var(--secondary);
    margin-bottom: 15px;
}

.section-title p {
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    padding: 30px;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 106, 0, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--primary);
    font-size: 32px;
}

.feature-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--secondary);
}

.pricing {
    padding: 100px 0;
    background: linear-gradient(to bottom, #f0f4f8, #e6ebf5);
}

.pricing-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.pricing-plan {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: transform 0.3s;
}

.pricing-plan:hover {
    transform: translateY(-10px);
}

.popular-plan {
    border-top: 4px solid var(--primary);
}

.popular-badge {
    position: absolute;
    top: 15px;
    right: -30px;
    background: var(--primary);
    color: white;
    padding: 5px 30px;
    transform: rotate(45deg);
    font-size: 14px;
    font-weight: 600;
}

.plan-header {
    padding: 30px;
    text-align: center;
    background: var(--secondary);
    color: white;
}

.plan-name {
    font-size: 24px;
    margin-bottom: 10px;
}

.plan-price {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 5px;
}

.plan-price span {
    font-size: 16px;
    font-weight: normal;
}

.plan-duration {
    opacity: 0.8;
}

.plan-features {
    padding: 30px;
}

.plan-features ul {
    list-style: none;
    margin-bottom: 30px;
}

.plan-features ul li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.plan-features ul li i {
    color: var(--primary);
    margin-right: 10px;
}

.how-it-works {
    padding: 100px 0;
    background: white;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 10%;
    width: 80%;
    height: 3px;
    background: var(--primary);
    z-index: 1;
}

.step {
    text-align: center;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    margin-bottom: 15px;
    color: var(--secondary);
}

.testimonials {
    padding: 100px 0;
    background: linear-gradient(135deg, #4a4a8c 0%, #2c2c5e 100%);
    color: white;
    text-align: center;
}

.testimonials .section-title h2,
.testimonials .section-title p {
    color: white;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    text-align: left;
    backdrop-filter: blur(10px);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 60px;
    position: absolute;
    top: -20px;
    left: -10px;
    opacity: 0.2;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
}

.author-info h4 {
    margin-bottom: 5px;
}

.author-info p {
    opacity: 0.7;
    font-size: 14px;
}

.faq {
    padding: 100px 0;
    background: white;
}

.faq-container {
    max-width: 800px;
    margin: 50px auto 0;
}

.faq-item {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    background: var(--light);
    padding: 20px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s, padding 0.3s;
}

.faq-item.active .faq-answer {
    padding: 20px;
    max-height: 500px;
}

.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 42px;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.9;
}

.footer {
    background: var(--dark);
    color: white;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--primary);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
}

.social-links a:hover {
    background: var(--primary);
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #aaa;
    font-size: 14px;
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    background-color: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    animation: modalShow 0.3s ease-out;
}

@keyframes modalShow {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.8);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    margin-bottom: 20px;
}

.modal-header h2 {
    color: var(--secondary);
    font-size: 24px;
    margin-bottom: 10px;
}

.modal-header p {
    color: var(--gray);
    font-size: 16px;
}

.modal-qr {
    margin: 20px 0;
}

.modal-qr img {
    max-width: 200px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.modal-footer {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.modal-footer p {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 15px;
}

.close {
    position: absolute;
    right: 15px;
    top: 15px;
    color: var(--gray);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--light);
}

.close:hover {
    color: var(--primary);
    background: rgba(255, 106, 0, 0.1);
}

/* 右下角客服浮窗样式 */
.service-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, 'Microsoft YaHei', sans-serif;
}

.service-button {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(255, 106, 0, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
    color: white;
    font-size: 24px;
    animation: pulse 2s infinite;
}

.service-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 106, 0, 0.5);
}

@keyframes pulse {
    0% { box-shadow: 0 6px 20px rgba(255, 106, 0, 0.4); }
    50% { box-shadow: 0 6px 30px rgba(255, 106, 0, 0.6); }
    100% { box-shadow: 0 6px 20px rgba(255, 106, 0, 0.4); }
}

.service-panel {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 320px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transform: translateY(20px) scale(0.9);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.service-panel.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    visibility: visible;
}

.service-header {
    background: linear-gradient(135deg, var(--secondary) 0%, #2c2c5e 100%);
    color: white;
    padding: 20px;
    text-align: center;
    position: relative;
}

.service-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
    color: white;
    font-size: 16px;
}

.service-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.service-content {
    padding: 25px;
    text-align: center;
}

.service-qr {
    margin-bottom: 20px;
}

.service-qr img {
    width: 140px;
    height: 140px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-tips {
    background: rgba(255, 106, 0, 0.1);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    border-left: 4px solid var(--primary);
}

.service-tips h4 {
    color: var(--primary);
    font-size: 16px;
    margin-bottom: 8px;
}

.service-tips p {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.4;
}

.service-info {
    color: var(--gray);
    font-size: 14px;
    line-height: 1.5;
}

.service-info strong {
    color: var(--secondary);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .service-float {
        bottom: 20px;
        right: 20px;
    }
    
    .service-panel {
        width: 280px;
        right: -10px;
    }
    
    .service-button {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        padding-right: 0;
        margin-bottom: 50px;
    }
    
    .steps-container {
        flex-direction: column;
    }
    
    .steps-container::before {
        display: none;
    }
    
    .step {
        margin-bottom: 40px;
    }
    
    nav ul {
        display: none;
    }
} 