/* 基础重置和字体设置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

/* 导航栏样式 - 完全按图片还原 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(46, 74, 62, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.nav-logo {
    display: flex;
    align-items: center;
    color: white;
    font-size: 20px;
    font-weight: 600;
}

.logo-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
    border-radius: 4px;
    margin-right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #4CAF50;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-btn span {
    width: 20px;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Hero区域 - 完全按图片还原 */
.hero {
    min-height: 100vh;
    position: relative;
    background: url('./static/background.png') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px 20px 60px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.wave-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 30 Q25 10 50 30 T100 30 V100 H0 Z' fill='%23ffffff' fill-opacity='0.05'/%3E%3Cpath d='M0 50 Q25 30 50 50 T100 50 V100 H0 Z' fill='%23ffffff' fill-opacity='0.03'/%3E%3C/svg%3E");
    animation: waveFloat 15s ease-in-out infinite;
    opacity: 0.6;
}

@keyframes waveFloat {
    0%, 100% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(-10px) translateY(-5px); }
    50% { transform: translateX(0) translateY(-10px); }
    75% { transform: translateX(10px) translateY(-5px); }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin-bottom: 80px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: #2E4A3E;
    margin-bottom: 16px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #4A6741;
    margin-bottom: 40px;
    font-weight: 400;
}

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

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    min-width: 100px;
}

.btn-primary {
    background: linear-gradient(135deg, #4CAF50, #388E3C);
    color: white;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.4);
}

.btn-secondary {
    background: white;
    color: #4CAF50;
    border: 1px solid #4CAF50;
}

.btn-secondary:hover {
    background: #4CAF50;
    color: white;
    transform: translateY(-2px);
}

/* 特色卡片 - 完全按图片还原 */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 1000px;
    position: relative;
    z-index: 2;
}

.feature-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 24px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: slideInUp 0.8s ease-out forwards;
    transform-origin: center center;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.feature-card.highlight {
    background: linear-gradient(135deg, #2E4A3E, #4A6741);
    color: white;
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: #2E4A3E;
    font-weight: 600;
}

.feature-card.highlight h3 {
    color: white;
}

.feature-card p {
    color: #666;
    line-height: 1.5;
    font-size: 0.9rem;
}

.feature-card.highlight p {
    color: rgba(255, 255, 255, 0.9);
}

/* 产品功能区域 */
.features {
    padding: 80px 0;
    background: #f8f9fa;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 50px;
    color: #2E4A3E;
    position: relative;
    font-weight: 600;
}

.section-title::after {
    content: '';
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #4CAF50, #388E3C);
    position: absolute;
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-item {
    background: white;
    padding: 32px 24px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.feature-item:nth-child(1) { animation-delay: 0.1s; }
.feature-item:nth-child(2) { animation-delay: 0.2s; }
.feature-item:nth-child(3) { animation-delay: 0.3s; }
.feature-item:nth-child(4) { animation-delay: 0.4s; }
.feature-item:nth-child(5) { animation-delay: 0.5s; }
.feature-item:nth-child(6) { animation-delay: 0.6s; }

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.feature-item h3 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: #2E4A3E;
    font-weight: 600;
}

.feature-item p {
    color: #666;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* 定价区域 - 新的单一价格表格样式 */
.pricing {
    padding: 80px 0;
    background: linear-gradient(135deg, #E8F5E8, #F1F8E9);
}

.pricing-intro {
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-intro p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.6;
}

.highlight-text {
    color: #e74c3c;
    font-weight: 600;
}

.pricing-single {
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card.single-plan {
    background: white;
    padding: 40px 32px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.2s;
}

.pricing-card.single-plan:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.pricing-card.featured {
    background: linear-gradient(135deg, #4CAF50, #388E3C);
    color: white;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: #2E4A3E;
    font-weight: 600;
}

.pricing-card.featured h3 {
    color: white;
}

.price {
    font-size: 2.2rem;
    font-weight: 700;
    color: #4CAF50;
    margin-bottom: 32px;
}

.pricing-card.featured .price {
    color: white;
}

.price span {
    font-size: 1rem;
    font-weight: normal;
}

.pricing-table {
    text-align: left;
    margin-bottom: 32px;
}

.pricing-row {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    align-items: center;
}

.pricing-card.featured .pricing-row {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.pricing-row:last-child {
    border-bottom: none;
}

.feature-name {
    font-weight: 500;
    color: #333;
    font-size: 0.95rem;
}

.pricing-card.featured .feature-name {
    color: white;
}

.feature-value {
    font-weight: 600;
    color: #2E4A3E;
    font-size: 0.95rem;
}

.feature-value.highlight {
    color: #e74c3c;
    font-weight: 700;
}

.pricing-card.featured .feature-value {
    color: rgba(255, 255, 255, 0.9);
}

.pricing-card.featured .feature-value.highlight {
    color: #ffeb3b;
}

.feature-note {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
}

.pricing-card.featured .feature-note {
    color: rgba(255, 255, 255, 0.8);
}

.price-highlight {
    color: #e74c3c;
    font-weight: 600;
}

.pricing-card.featured .price-highlight {
    color: #ffeb3b;
    font-weight: 700;
}

.pricing-btn {
    width: 100%;
    margin-top: 16px;
    padding: 14px;
    font-weight: 600;
    font-size: 1rem;
}

/* 旧的价格网格样式保留以防需要 */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.features-list {
    list-style: none;
    margin-bottom: 24px;
    text-align: left;
}

.features-list li {
    padding: 8px 0;
    position: relative;
    padding-left: 20px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.features-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4CAF50;
    font-weight: bold;
}

.pricing-card.featured .features-list li::before {
    color: white;
}

/* 关于我们区域 - 按图片精确还原 */
.about {
    padding: 80px 0;
    background: #f8f9fa;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-main {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
    animation-delay: 0.1s;
}

.about-company h3 {
    font-size: 1.8rem;
    color: #2E4A3E;
    font-weight: 700;
    margin-bottom: 16px;
}

.about-subtitle {
    font-size: 1.1rem;
    color: #4CAF50;
    font-weight: 500;
    margin-bottom: 24px;
    line-height: 1.5;
}

.about-description {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.about-description p {
    color: #666;
    line-height: 1.8;
    font-size: 0.95rem;
    margin: 0;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.stat-item {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.stat-item:nth-child(1) { animation-delay: 0.2s; }
.stat-item:nth-child(2) { animation-delay: 0.3s; }
.stat-item:nth-child(3) { animation-delay: 0.4s; }

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.stat-item h4 {
    font-size: 1.1rem;
    color: #2E4A3E;
    font-weight: 600;
    margin-bottom: 8px;
}

.stat-item p {
    color: #666;
    line-height: 1.6;
    font-size: 0.9rem;
    margin: 0;
}

/* 页脚 */
.footer {
    background: linear-gradient(135deg, #2E4A3E, #4A6741);
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-bottom: 24px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.footer-logo {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.footer-logo span {
    font-size: 20px;
    font-weight: 600;
}

.footer-logo p {
    margin-top: 8px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-contact {
    text-align: right;
}

.footer-contact p {
    margin-bottom: 4px;
    font-size: 0.9rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 0.7;
    font-size: 0.8rem;
}

/* 移动设备响应式设计 */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(46, 74, 62, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .btn {
        width: 200px;
    }
    
    .feature-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .pricing-card.featured {
        transform: none;
    }
    
    /* 新价格表格的移动端样式 */
    .pricing-row {
        grid-template-columns: 1fr;
        gap: 8px;
        text-align: left;
    }
    
    .feature-name {
        font-weight: 600;
        margin-bottom: 4px;
    }
    
    .feature-value {
        margin-bottom: 4px;
    }
    
    .feature-note {
        font-size: 0.8rem;
        margin-bottom: 12px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-contact {
        text-align: center;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 70px 15px 40px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .feature-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .feature-card {
        padding: 20px 16px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .about-company h3 {
        font-size: 1.5rem;
    }
    
    .about-subtitle {
        font-size: 1rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .pricing-card, .feature-item {
        padding: 24px 20px;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
}

/* 动画优化 */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 加载状态 */
.loading {
    opacity: 0;
}

.loaded {
    opacity: 1;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #4CAF50;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #388E3C;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close {
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: #666;
}

.close:hover {
    color: #000;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.qr-container {
    text-align: center;
    padding: 20px;
}

.qr-container img {
    max-width: 200px;
    margin-bottom: 15px;
}

.qr-container p {
    margin: 10px 0;
}

.qr-note {
    color: #666;
    font-size: 14px;
    margin-top: 15px;
} 