/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Header Styles */
.header {
    background: linear-gradient(135deg, #07C160 0%, #06a852 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Main Content */
.main {
    padding: 40px 0;
}

/* Hero Section */
.hero {
    background: white;
    padding: 60px 0;
    margin-bottom: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.hero-content {
    text-align: center;
}

.hero-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #666;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, #07C160 0%, #06a852 100%);
    color: white;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(7, 193, 96, 0.4);
}

.btn-secondary {
    background: white;
    color: #07C160;
    border: 2px solid #07C160;
}

.btn-secondary:hover {
    background: #07C160;
    color: white;
}

.btn-outline {
    border: 2px solid #ddd;
    color: #666;
}

.btn-outline:hover {
    border-color: #667eea;
    color: #667eea;
}

.btn-success {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    border: none;
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(79, 172, 254, 0.4);
}

.btn-block {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
}

/* Features Section */
.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    color: #333;
}

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

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #333;
}

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

/* Industries Section */
.industries-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.industry-tag {
    background: linear-gradient(135deg, #07C160 0%, #06a852 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
}

/* Testimonials */
.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
}

.testimonial-card:before {
    content: """;
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 4rem;
    color: #f0f0f0;
    font-family: serif;
    line-height: 1;
}

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

.testimonial-author {
    text-align: right;
}

.author-name {
    font-weight: 600;
    color: #07C160;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #07C160 0%, #06a852 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    border-radius: 10px;
    margin: 40px 0;
}

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

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

.btn-large {
    padding: 16px 40px;
    font-size: 1.2rem;
}

.wechat-contact {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.wechat-qr {
    width: 150px;
    height: 150px;
    background: white;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #666;
}

.wechat-info {
    text-align: left;
}

.wechat-info p {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* Pricing Section */
.pricing-intro {
    text-align: center;
    margin-bottom: 50px;
}

.pricing-intro h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.pricing-intro p {
    font-size: 1.1rem;
    color: #666;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.pricing-card {
    background: white;
    border-radius: 10px;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
}

.pricing-card.popular {
    border: 2px solid #07C160;
    transform: scale(1.05);
}

.Popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #07C160 0%, #06a852 100%);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #333;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #07C160;
    margin-bottom: 10px;
}

.period {
    color: #666;
    font-size: 1rem;
}

.pricing-features ul {
    list-style: none;
    margin: 30px 0;
    text-align: left;
}

.pricing-features li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

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

.pricing-features .disabled {
    color: #ccc;
    text-decoration: line-through;
}

/* FAQ Section */
.pricing-faq {
    margin: 50px 0;
}

.pricing-faq h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #333;
}

.faq-item {
    background: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.faq-item h4 {
    color: #07C160;
    margin-bottom: 10px;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    text-align: center;
    margin-top: 50px;
}

.contact-section h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #333;
}

.contact-section p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #666;
}

/* Demo Form Styles */
.demo-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* Result Container */
.result-container {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.result-container h3 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.generated-content,
.compliance-report {
    margin-bottom: 30px;
}

.generated-content h4,
.compliance-report h4 {
    margin-bottom: 15px;
    color: #07C160;
    font-size: 1.2rem;
}

#ai-content,
#compliance-report {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #07C160;
    white-space: pre-wrap;
    line-height: 1.6;
}

.result-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Auth Pages */
.auth-container {
    max-width: 400px;
    margin: 60px auto;
    padding: 40px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.auth-container h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

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

.auth-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.auth-form input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
}

.auth-form .btn {
    /* width: 100%; */
    padding: 12px;
    font-size: 1.1rem;
}

.wechat-login-btn {
    background: #07C160;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
}

.auth-links {
    text-align: center;
    margin-top: 20px;
}

.auth-links a {
    color: #07C160;
    text-decoration: none;
    margin: 0 10px;
}

/* Dashboard */
.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.dashboard-header {
    text-align: center;
    margin-bottom: 40px;
}

.dashboard-header h1 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 10px;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.stat-card h3 {
    color: #07C160;
    margin-bottom: 10px;
}

.stat-card .stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
}

.usage-progress {
    width: 100%;
    height: 20px;
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    margin: 10px 0;
}

.usage-progress-bar {
    height: 100%;
    background: linear-gradient(135deg, #07C160 0%, #06a852 100%);
    transition: width 0.3s ease;
}

.plan-info {
    text-align: center;
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #07C160;
}

/* User Info Panel */
.user-info-panel {
    background: white;
    padding: 24px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.user-info-panel h3 {
    margin-bottom: 20px;
    color: #333;
    font-size: 1.3rem;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.user-stats {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f8f9fa;
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-label {
    font-weight: 600;
    color: #666;
}

.stat-value {
    font-weight: 700;
    color: #333;
}

/* Responsive adjustments for user info panel */
@media (max-width: 768px) {
    .user-info-panel {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .user-stats {
        gap: 12px;
    }
    
    .stat-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .stat-label {
        font-size: 0.95rem;
    }
    
    .stat-value {
        font-size: 1.1rem;
    }
}

/* Content Creation Form */
.content-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 40px;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    padding: 30px 0;
    text-align: center;
}

.footer p {
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 40px 0;
    }
    
    .header h1 {
        font-size: 2rem;
    }
    
    .hero-content h2 {
        font-size: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn {
        padding: 12px 20px;
        min-height: 44px;
        min-width: 44px;
    }
    
    .btn-large {
        padding: 14px 30px;
        font-size: 1.1rem;
    }
    
    .pricing-card.popular {
        transform: scale(1);
    }
    
    .wechat-contact {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .wechat-qr {
        width: 120px;
        height: 120px;
    }
    
    .result-actions {
        flex-direction: column;
    }
    
    .auth-container {
        margin: 40px 10px;
        padding: 20px;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
    }
    
    /* Ensure proper touch targets */
    .form-group input,
    .form-group select,
    .form-group textarea {
        min-height: 44px;
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    /* Navigation menu adjustments */
    .navbar-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
}

/* Extra small devices (phones, less than 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header {
        padding: 30px 0;
    }
    
    .header h1 {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .main {
        padding: 20px 0;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
    
    .features-grid {
        gap: 20px;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .feature-icon {
        font-size: 2rem;
    }
    
    .feature-card h3 {
        font-size: 1.2rem;
    }
    
    .industries-list {
        gap: 10px;
    }
    
    .industry-tag {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .cta-section {
        padding: 40px 0;
    }
    
    .cta-section h2 {
        font-size: 1.5rem;
    }
    
    .cta-section p {
        font-size: 1rem;
    }
    
    .btn-large {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .pricing-cards {
        gap: 20px;
    }
    
    .pricing-card {
        padding: 30px 15px;
    }
    
    .pricing-header h3 {
        font-size: 1.3rem;
    }
    
    .price {
        font-size: 2rem;
    }
    
    .faq-item {
        padding: 15px;
    }
    
    .faq-item h4 {
        font-size: 1.2rem;
    }
    
    .demo-form, .auth-container, .result-container {
        padding: 20px;
    }
    
    .form-group {
        margin-bottom: 15px;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 5px;
    }
    
    .auth-links a {
        display: block;
        margin: 10px 0;
    }
}