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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    color: #666;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 8px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.btn-outline {
    background: transparent;
    color: #667eea;
    border: 2px solid #667eea;
}

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

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

.btn-full {
    width: 100%;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: #667eea;
}

.nav-logo i {
    font-size: 28px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #667eea;
}

.nav-auth, .nav-user {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #2d3748;
}

.highlight {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-comparison {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.before-after {
    display: flex;
    align-items: center;
    gap: 30px;
    justify-content: center;
}

.image-container {
    text-align: center;
    position: relative;
}

.comparison-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.comparison-image:hover {
    transform: scale(1.05);
}

.image-label {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

.arrow {
    font-size: 2rem;
    color: #667eea;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.demo-preview {
    position: relative;
    display: inline-block;
}

.preview-trigger {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 25px;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.preview-trigger:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.preview-trigger i {
    font-size: 1.2rem;
}

.image-comparison-hover {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 15px;
    min-width: 400px;
}

.demo-preview:hover .image-comparison-hover {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(5px);
}

.before-after {
    display: flex;
    align-items: center;
    gap: 20px;
}

.image-container {
    position: relative;
    text-align: center;
}

.comparison-image {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.image-label {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
}

.arrow {
    font-size: 1.5rem;
    color: #667eea;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* 添加小箭头指向触发器 */
.image-comparison-hover::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
}

/* Features Section */
.features {
    padding: 80px 0;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    color: #2d3748;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: #666;
}

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

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

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

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: white;
}

.feature-card h3 {
    color: #2d3748;
    margin-bottom: 15px;
}

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

/* Pricing Section */
.pricing {
    padding: 80px 0;
    background: #f8f9fa;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

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

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

.pricing-card.featured {
    border: 3px solid #667eea;
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.pricing-header h3 {
    color: #2d3748;
    margin-bottom: 10px;
}

.price {
    margin-bottom: 10px;
}

.currency {
    font-size: 1.5rem;
    color: #666;
}

.amount {
    font-size: 3rem;
    font-weight: 700;
    color: #667eea;
}

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

.price-description {
    color: #666;
    margin-bottom: 30px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
}

.pricing-features li {
    padding: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features i {
    color: #4ade80;
    font-size: 18px;
}

/* About Section */
.about {
    padding: 80px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    color: #2d3748;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.125rem;
    line-height: 1.6;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.about-stat {
    text-align: center;
}

.about-stat .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #667eea;
}

.about-stat .stat-label {
    font-size: 0.9rem;
    color: #666;
}

.about-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Announcement Bar */
.announcement-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    z-index: 9998;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

.announcement-content {
    max-width: 100%;
    padding: 12px 0;
    overflow: hidden;
}

.announcement-content marquee {
    font-size: 14px;
    font-weight: 500;
    color: white;
    padding: 0 20px;
}

/* Footer */
.footer {
    background: #2d3748;
    color: white;
    padding: 60px 0 60px; /* 增加底部padding为广告栏留空间 */
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-logo i {
    font-size: 28px;
    color: #667eea;
}

.footer-section h4 {
    margin-bottom: 20px;
    color: white;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #667eea;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #4a5568;
    color: #a0aec0;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    padding: 30px 30px 20px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    color: #2d3748;
}

.close {
    color: #a0aec0;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #667eea;
}

/* Form Styles */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #2d3748;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
}

.password-requirements {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

/* Processing modal styles */
.spinner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e5e7eb;
    border-top: 4px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

.modal-footer {
    text-align: center;
    padding: 20px 30px 30px;
    color: #666;
}

.modal-footer a {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.modal-footer a:hover {
    text-decoration: underline;
}

/* Upload Area */
.upload-area {
    padding: 40px 30px;
    text-align: center;
    border: 2px dashed #e2e8f0;
    border-radius: 10px;
    margin: 20px 30px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover {
    border-color: #667eea;
    background-color: #f8f9ff;
}

.upload-area.dragover {
    border-color: #667eea;
    background-color: #f0f4ff;
}

.upload-content i {
    font-size: 48px;
    color: #667eea;
    margin-bottom: 20px;
}

.upload-content h4 {
    color: #2d3748;
    margin-bottom: 10px;
}

.upload-content p {
    color: #666;
    margin-bottom: 20px;
}

.upload-preview {
    padding: 20px 30px;
    text-align: center;
}

.upload-preview img {
    max-width: 100%;
    max-height: 300px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.preview-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.processing-status {
    padding: 40px 30px;
    text-align: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e2e8f0;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

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

/* Payment Styles */
.payment-content {
    padding: 30px;
}

.payment-summary {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.payment-summary h4 {
    color: #2d3748;
    margin-bottom: 15px;
}

.payment-summary ul {
    list-style: none;
}

.payment-summary li {
    padding: 5px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-summary i {
    color: #4ade80;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }
    
    .nav-auth {
        display: none;
    }
    
    .nav-user {
        display: none;
    }
    
    .nav-menu .nav-user {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 20px;
        border-top: 1px solid #e2e8f0;
        margin-top: 20px;
    }
    
    .nav-menu .user-dropdown {
        width: 100%;
        max-width: 300px;
    }
    
    .nav-menu .user-trigger {
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
        border-radius: 8px;
        background: #f8fafc;
        border: 1px solid #e2e8f0;
    }
    
    .nav-menu .user-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        margin-top: 10px;
        width: 100%;
        min-width: auto;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: none;
    }

    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-stats {
        justify-content: center;
    }

    .before-after {
        flex-direction: column;
    }

    .arrow {
        transform: rotate(90deg);
    }
}

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

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

    .btn-large {
        padding: 14px 28px;
        font-size: 16px;
    }

    .modal-content {
        margin: 10% auto;
        width: 95%;
    }

    .preview-actions {
        flex-direction: column;
    }
}

/* 会员计划卡片样式 */
.plan-card {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    background: white;
}

.plan-card:hover {
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.plan-card.selected {
    border-color: #3b82f6;
    background: #f8faff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.plan-card.popular {
    border-color: #f59e0b;
    position: relative;
}

.plan-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #f59e0b;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.plan-header h4 {
    margin: 0 0 10px 0;
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
}

.plan-price {
    font-size: 32px;
    font-weight: bold;
    color: #3b82f6;
    margin-bottom: 20px;
}

.plan-features {
    text-align: left;
}

.plan-features .feature {
    padding: 8px 0;
    color: #6b7280;
    border-bottom: 1px solid #f3f4f6;
}

.plan-features .feature:last-child {
    border-bottom: none;
}

/* 新的定价卡片样式 */
.pricing-plan-card {
    background: white;
    border: 3px solid #e5e7eb;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: #3b82f6;
}

.pricing-plan-card.recommended {
    border-color: #f59e0b;
    border-width: 4px;
    background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%);
}

.recommended-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.pricing-plan-card h4 {
    margin: 10px 0;
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
}

.plan-price-big {
    font-size: 48px;
    font-weight: 800;
    color: #3b82f6;
    margin: 20px 0;
    line-height: 1;
}

.plan-price-big span {
    font-size: 18px;
    color: #6b7280;
    font-weight: 500;
}

.plan-features-list {
    list-style: none;
    padding: 0;
    margin: 25px 0;
    text-align: left;
}

.plan-features-list li {
    padding: 12px 0;
    color: #374151;
    font-size: 15px;
    border-bottom: 1px solid #f3f4f6;
}

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

.stripe-link-input {
    width: 100%;
    padding: 10px;
    margin: 15px 0;
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    background: #f9fafb;
    text-align: center;
    font-size: 12px;
    color: #6b7280;
    cursor: not-allowed;
}

.btn-full {
    width: 100%;
    margin-top: 10px;
}

/* 支付方式卡片样式 */
.payment-method-card {
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.payment-method-card:hover {
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.payment-method-card.selected {
    border-color: #3b82f6;
    background: #f8faff;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.payment-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.payment-method-card h4 {
    margin: 10px 0;
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
}

.payment-method-card p {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 15px;
}

.payment-link-input {
    width: 100%;
    padding: 8px;
    margin-top: 10px;
    border: 2px dashed #d1d5db;
    border-radius: 6px;
    background: #f9fafb;
    text-align: center;
    font-size: 11px;
    color: #6b7280;
    cursor: not-allowed;
}

.plan-subtitle {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 15px;
    font-weight: 500;
}

/* Dashboard Styles */
.dashboard-content {
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
}

.dashboard-container {
    padding: 20px;
}

.dashboard-section {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.dashboard-section h4 {
    color: #2d3748;
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 600;
}

.dashboard-section h4 i {
    margin-right: 8px;
    color: #667eea;
}

/* User Profile */
.user-profile {
    display: flex;
    align-items: center;
    gap: 20px;
}

.profile-avatar {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
}

.profile-info h5 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: #2d3748;
}

.profile-info p {
    color: #666;
    margin-bottom: 4px;
}

/* Statistics Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.stat-info h3 {
    font-size: 2rem;
    font-weight: bold;
    color: #2d3748;
    margin-bottom: 4px;
}

.stat-info p {
    color: #666;
    font-size: 0.9rem;
}

/* Usage Progress */
.usage-progress {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.progress-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.progress-item label {
    min-width: 80px;
    font-weight: 500;
    color: #2d3748;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-fill.vip {
    background: linear-gradient(90deg, #f6ad55 0%, #fc8181 100%);
}

.progress-item span {
    min-width: 60px;
    text-align: right;
    font-weight: 500;
    color: #666;
}

/* Activity List */
.activity-list {
    max-height: 300px;
    overflow-y: auto;
}

.activity-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
}

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

.activity-icon {
    width: 40px;
    height: 40px;
    background: #667eea;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 12px;
}

.activity-content {
    flex: 1;
}

.activity-content h6 {
    margin-bottom: 4px;
    color: #2d3748;
}

.activity-content p {
    color: #666;
    font-size: 0.9rem;
}

.activity-time {
    color: #999;
    font-size: 0.8rem;
}

/* Quick Actions */
.quick-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.quick-actions .btn {
    flex: 1;
    min-width: 150px;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dashboard-content {
        margin: 10px;
        max-height: calc(100vh - 20px);
    }
    
    .dashboard-container {
        padding: 15px;
    }
    
    .dashboard-section {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .user-profile {
        flex-direction: column;
        text-align: center;
    }
    
    .progress-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .progress-item label {
        min-width: auto;
    }
    
    .progress-item span {
        align-self: flex-end;
    }
    
    .quick-actions {
        flex-direction: column;
    }
    
    .quick-actions .btn {
        min-width: auto;
    }
}

/* Batch Upload Styles */
.batch-upload-content {
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
}

.batch-upload-container {
    padding: 20px;
}

.batch-section {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.batch-section h4 {
    color: #2d3748;
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 600;
}

.batch-section h4 i {
    margin-right: 8px;
    color: #667eea;
}

.batch-upload-area {
    border: 3px dashed #667eea;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    transition: all 0.3s ease;
    cursor: pointer;
}

.batch-upload-area:hover {
    border-color: #5a67d8;
    background: linear-gradient(135deg, #f0f4f8 0%, #d6e8f5 100%);
    transform: translateY(-2px);
}

.batch-upload-area.dragover {
    border-color: #5a67d8;
    background: linear-gradient(135deg, #e6f3ff 0%, #cce7ff 100%);
    transform: scale(1.02);
}

.batch-upload-area .upload-content i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 20px;
}

.batch-upload-area h4 {
    color: #2d3748;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.batch-upload-area p {
    color: #666;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

/* Batch Preview */
.batch-preview {
    margin-top: 20px;
}

.batch-image-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
    max-height: 300px;
    overflow-y: auto;
}

.batch-image-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background: white;
}

.batch-image-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.batch-image-info {
    padding: 8px;
    background: white;
}

.batch-image-info h6 {
    font-size: 0.8rem;
    margin-bottom: 4px;
    color: #2d3748;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.batch-image-info p {
    font-size: 0.7rem;
    color: #666;
    margin: 0;
}

.batch-image-remove {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(239, 68, 68, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 0.7rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.batch-image-remove:hover {
    background: rgba(220, 38, 38, 1);
}

.batch-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.batch-actions .btn {
    min-width: 150px;
}

/* Processing Status */
.processing-status {
    text-align: center;
    padding: 40px 20px;
}

.processing-icon {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 20px;
}

.processing-status h4 {
    color: #2d3748;
    margin-bottom: 20px;
}

.progress-info {
    background: #f8fafc;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
}

.progress-info p {
    margin: 0;
    color: #666;
    font-size: 0.9rem;
}

.progress-info span {
    color: #2d3748;
    font-weight: 600;
}

.progress-bar-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.progress-bar {
    flex: 1;
    height: 12px;
    background: #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 6px;
    transition: width 0.3s ease;
    width: 0%;
}

.progress-text {
    font-weight: 600;
    color: #2d3748;
    min-width: 40px;
}

.processing-note {
    color: #666;
    font-size: 0.9rem;
    font-style: italic;
}

/* Batch History */
.batch-history {
    max-height: 400px;
    overflow-y: auto;
}

.batch-history-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 10px;
    background: white;
    transition: all 0.3s ease;
}

.batch-history-item:hover {
    border-color: #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.1);
}

.batch-history-info h6 {
    margin-bottom: 5px;
    color: #2d3748;
}

.batch-history-info p {
    margin: 0;
    color: #666;
    font-size: 0.8rem;
}

.batch-history-status {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-badge.processing {
    background: #fef3c7;
    color: #92400e;
}

.status-badge.completed {
    background: #d1fae5;
    color: #065f46;
}

.status-badge.failed {
    background: #fee2e2;
    color: #991b1b;
}

.batch-history-actions {
    display: flex;
    gap: 8px;
}

.batch-history-actions .btn {
    padding: 6px 12px;
    font-size: 0.8rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .batch-upload-content {
        margin: 10px;
        max-height: calc(100vh - 20px);
    }
    
    .batch-upload-container {
        padding: 15px;
    }
    
    .batch-section {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .batch-image-list {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    
    .batch-actions {
        flex-direction: column;
    }
    
    .batch-actions .btn {
        min-width: auto;
    }
    
    .progress-info {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .progress-bar-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .batch-history-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .batch-history-actions {
        align-self: stretch;
        justify-content: center;
    }
}

/* User Dropdown Styles */
.user-dropdown {
    position: relative;
}

.user-trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    border-radius: 25px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.user-trigger:hover {
    background: linear-gradient(135deg, #e6f3ff 0%, #d6e8f5 100%);
    border-color: #667eea;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

.user-info .user-email {
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

.user-info .user-status {
    font-size: 12px;
    color: #667eea;
    font-weight: 500;
}

.dropdown-arrow {
    font-size: 12px;
    color: #667eea;
    transition: transform 0.3s ease;
}

.user-trigger.active .dropdown-arrow {
    transform: rotate(180deg);
}

.user-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    overflow: hidden;
}

.user-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-profile-section {
    padding: 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-bottom: 1px solid #e2e8f0;
}

.user-profile-section .user-email {
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 4px;
}

.user-profile-section .user-status {
    font-size: 14px;
    color: #667eea;
    font-weight: 500;
}

.dropdown-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 8px 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #4a5568;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.dropdown-item:hover {
    background: #f7fafc;
    color: #667eea;
}

.dropdown-item i {
    width: 16px;
    text-align: center;
    color: #667eea;
}

.dropdown-item.logout-item {
    color: #e53e3e;
}

.dropdown-item.logout-item:hover {
    background: #fed7d7;
    color: #c53030;
}

.dropdown-item.logout-item i {
    color: #e53e3e;
}

/* Mobile Responsive for Dropdown */
@media (max-width: 768px) {
    .user-trigger {
        padding: 6px 12px;
        gap: 8px;
    }
    
    .user-avatar {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    
    .user-info .user-email {
        font-size: 12px;
        max-width: 120px;
    }
    
    .user-info .user-status {
        font-size: 10px;
    }
    
    .user-dropdown-menu {
        min-width: 260px;
        right: -10px;
    }
    
    .user-profile-section {
        padding: 16px;
    }
    
    .user-profile-section .user-email {
        font-size: 14px;
    }
    
    .user-profile-section .user-status {
        font-size: 12px;
    }
    
    .dropdown-item {
        padding: 10px 16px;
        font-size: 14px;
    }
}

/* Footer Styles */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    margin-top: 80px;
}

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

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

.footer-section h3 {
    color: #667eea;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.footer-section h4 {
    color: #ecf0f1;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
    margin-bottom: 15px;
}

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

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

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #667eea;
}

.footer-contact {
    margin-top: 20px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ecf0f1;
}

.footer-contact i {
    color: #667eea;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #95a5a6;
    margin: 0;
}

.footer-bottom a {
    color: #667eea;
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Mobile Footer */
@media (max-width: 768px) {
    .footer-container {
        padding: 40px 20px 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-section h3 {
        font-size: 1.3rem;
    }
    
    .footer-bottom p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

/* Payment methods styles */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.payment-method {
    display: flex;
    align-items: center;
    padding: 20px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method:hover {
    border-color: #667eea;
    background: #f0f4ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
}

.payment-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    margin-right: 15px;
    font-size: 1.5rem;
}

.payment-info {
    flex: 1;
}

.payment-info h4 {
    margin: 0 0 5px 0;
    color: #495057;
    font-size: 1.1rem;
}

.payment-info p {
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
}

.payment-arrow {
    color: #6c757d;
    font-size: 1.2rem;
}

/* Mobile Payment Methods */
@media (max-width: 768px) {
    .payment-method {
        padding: 15px;
    }
    
    .payment-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        margin-right: 12px;
    }
    
    .payment-info h4 {
        font-size: 1rem;
    }
    
    .payment-info p {
        font-size: 0.8rem;
    }
}

/* VIP Activation Modal Styles */
.vip-activation-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.vip-option-btn {
    padding: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.vip-option-btn:hover {
    border-color: #007bff;
    background-color: #f8f9ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
}

.vip-option-btn .plan-name {
    font-size: 18px;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 8px;
}

.vip-option-btn .plan-desc {
    font-size: 14px;
    color: #666;
}

.activation-note {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-top: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

/* Manual VIP Activation Button */
.manual-vip-activation-btn {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 20px auto;
    padding: 15px 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.manual-vip-activation-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.manual-vip-activation-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

/* Payment Confirmation Dialog Styles */
.payment-confirmation-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.payment-confirmation-info p {
    margin: 10px 0;
    color: #333;
}

.payment-confirmation-actions,
.payment-completed-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.payment-confirm-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 140px;
}

.payment-cancel-btn {
    background: #dc3545;
    color: white;
}

.payment-cancel-btn:hover {
    background: #c82333;
    transform: translateY(-2px);
}

.payment-proceed-btn {
    background: #28a745;
    color: white;
}

.payment-proceed-btn:hover {
    background: #218838;
    transform: translateY(-2px);
}

.payment-failed-btn {
    background: #6c757d;
    color: white;
}

.payment-failed-btn:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

.payment-success-btn {
    background: #007bff;
    color: white;
}

.payment-success-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.payment-completed-info {
    background: #e3f2fd;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #2196f3;
}

.payment-completed-info p {
    margin: 10px 0;
    color: #333;
}

.payment-completed-info p:first-child {
    font-weight: 600;
    color: #1976d2;
}

/* Upgrade Modal Styles */
.upgrade-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0;
    gap: 20px;
}

.upgrade-info .current-plan,
.upgrade-info .target-plan {
    flex: 1;
    text-align: center;
}

.upgrade-info .plan-card {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    margin: 10px 0;
    transition: all 0.3s ease;
}

.upgrade-info .plan-card.current {
    border-color: #f59e0b;
    background-color: #fffbeb;
}

.upgrade-info .plan-card.target {
    border-color: #10b981;
    background-color: #ecfdf5;
}

.upgrade-info .plan-card h4 {
    margin: 0 0 10px 0;
    font-size: 1.2em;
}

.upgrade-info .plan-card .price {
    font-size: 1.5em;
    font-weight: bold;
    color: #667eea;
    margin: 5px 0;
}

.upgrade-info .plan-card .images {
    color: #666;
    font-size: 0.9em;
    margin: 5px 0;
}

.upgrade-arrow {
    font-size: 2em;
    color: #667eea;
    margin: 0 10px;
}

.upgrade-details {
    background-color: #f8fafc;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.upgrade-details h3 {
    margin: 0 0 15px 0;
    color: #374151;
}

.upgrade-details .detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
}

.upgrade-details .detail-item:last-child {
    border-bottom: none;
}

.upgrade-details .detail-item .price {
    font-weight: bold;
    color: #10b981;
    font-size: 1.1em;
}

.upgrade-details .detail-item .check {
    color: #10b981;
    font-size: 1.2em;
}

.upgrade-details .detail-item .info {
    color: #6b7280;
}

.upgrade-benefits {
    background-color: #eff6ff;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.upgrade-benefits h3 {
    margin: 0 0 15px 0;
    color: #1e40af;
}

.upgrade-benefits ul {
    margin: 0;
    padding-left: 20px;
}

.upgrade-benefits li {
    margin: 8px 0;
    color: #374151;
}

.upgrade-summary {
    background-color: #f0f9ff;
    border-radius: 8px;
    padding: 15px;
    margin: 15px 0;
    text-align: center;
}

.upgrade-summary h3 {
    margin: 0 0 10px 0;
    color: #0369a1;
}

.upgrade-summary p {
    margin: 5px 0;
    font-size: 1.1em;
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.payment-option {
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.payment-option:hover {
    border-color: #667eea;
    background-color: #f7fafc;
    transform: translateY(-2px);
}

.payment-option .payment-icon {
    font-size: 2em;
    margin-bottom: 10px;
}

.payment-option .payment-name {
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 5px;
    color: #374151;
}

.payment-option .payment-desc {
    color: #6b7280;
    font-size: 0.9em;
}

.bank-info {
    background-color: #fef3c7;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
}

.bank-info h3 {
    margin: 0 0 15px 0;
    color: #92400e;
}

.bank-info p {
    margin: 8px 0;
    font-family: monospace;
    font-size: 0.95em;
}

.bank-note {
    background-color: #f0f9ff;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
}

.bank-note h3 {
    margin: 0 0 15px 0;
    color: #0369a1;
}

.bank-note ul {
    margin: 0;
    padding-left: 20px;
}

.bank-note li {
    margin: 8px 0;
    color: #374151;
}

/* Service Selector */
.service-selector {
    margin: 40px 0;
    text-align: center;
}

.service-selector h3 {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: #2d3748;
}

.service-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.service-option {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.service-option:hover {
    border-color: #667eea;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.15);
}

.service-option.active {
    border-color: #4ade80;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(74, 222, 128, 0.2);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #667eea;
}

.service-option.active .service-icon {
    color: #4ade80;
}

.service-option h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: #2d3748;
}

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

@media (max-width: 768px) {
    .service-options {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .service-option {
        padding: 20px 15px;
    }
    
    .service-icon {
        font-size: 2.5rem;
    }
    
    .image-comparison {
        padding: 20px;
    }
    
    .comparison-image {
        width: 150px;
        height: 150px;
    }
    
    .before-after {
        gap: 20px;
    }
    
    .arrow {
        font-size: 1.5rem;
    }
}

/* Service Section Styles */
.service-section {
    padding: 4rem 0;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.service-section:nth-child(even) {
    background: white;
}

.service-header {
    text-align: center;
    margin-bottom: 3rem;
}

.service-icon-large {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.service-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2d3748;
}

.service-header p {
    font-size: 1.1rem;
    color: #718096;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-demo {
    display: flex;
    justify-content: center;
}

.demo-images {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.demo-image-container {
    text-align: center;
    position: relative;
}

.demo-image-container img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.demo-image-container:hover img {
    transform: scale(1.05);
}

.demo-label {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
}

.demo-arrow {
    font-size: 2.5rem;
    color: #667eea;
    animation: pulse 2s infinite;
}

.service-actions {
    text-align: center;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.service-actions .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    min-width: 160px;
}

.service-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.service-actions .btn-outline:hover {
    box-shadow: 0 8px 25px rgba(74, 222, 128, 0.3);
}

/* Responsive Design for Service Sections */
@media (max-width: 1024px) {
    .service-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-actions {
        order: -1;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .service-actions .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .service-section {
        padding: 3rem 0;
    }
    
    .service-header h2 {
        font-size: 2rem;
    }
    
    .demo-images {
        gap: 1rem;
    }
    
    .demo-image-container img {
        width: 200px;
        height: 200px;
    }
    
    .demo-arrow {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .demo-images {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .demo-arrow {
        transform: rotate(90deg);
    }
    
    .demo-image-container img {
        width: 180px;
        height: 180px;
    }
}

/* Batch Status Bar Styles */
.batch-status-bar {
    position: fixed;
    top: 80px;
    left: 20px;
    right: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.3);
    z-index: 9999;
    animation: slideDown 0.3s ease-out;
}

.batch-status-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    gap: 20px;
}

.batch-status-info {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.batch-status-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.batch-status-details h4 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.batch-status-progress {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
}

.batch-status-bar-progress {
    flex: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    overflow: hidden;
    min-width: 100px;
}

.batch-status-bar-fill {
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 3px;
    transition: width 0.3s ease;
    width: 0%;
}

.batch-status-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.batch-status-actions .btn {
    padding: 8px 12px;
    font-size: 0.85rem;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.3s ease;
}

.batch-status-actions .btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-1px);
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive adjustments for batch status bar */
@media (max-width: 768px) {
    .batch-status-bar {
        left: 10px;
        right: 10px;
        top: 70px;
    }
    
    .batch-status-content {
        padding: 12px 15px;
        gap: 15px;
    }
    
    .batch-status-info {
        gap: 10px;
    }
    
    .batch-status-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .batch-status-details h4 {
        font-size: 1rem;
    }
    
    .batch-status-progress {
        gap: 8px;
        font-size: 0.8rem;
    }
    
    .batch-status-actions {
        gap: 8px;
    }
    
    .batch-status-actions .btn {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .batch-status-content {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .batch-status-actions {
        justify-content: center;
    }
}

/* Single Image Processing Status Bar */
.single-processing-bar {
    position: fixed;
    top: 140px;
    left: 20px;
    right: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.3);
    z-index: 9999;
    animation: slideDown 0.3s ease-out;
}

.single-processing-content {
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.single-processing-info {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
}

.single-processing-info h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: white;
}

.single-processing-info i {
    font-size: 20px;
    margin-right: 4px;
}

/* Small Spinner for Single Processing */
.spinner-small {
    width: 24px;
    height: 24px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design for Single Processing Bar */
@media (max-width: 768px) {
    .single-processing-bar {
        top: 70px;
        left: 10px;
        right: 10px;
    }
    
    .single-processing-content {
        padding: 12px 16px;
    }
    
    .single-processing-info h4 {
        font-size: 14px;
    }
    
    .spinner-small {
        width: 20px;
        height: 20px;
        border-width: 2px;
    }
}

/* 价格卡片响应式布局 - 确保横着显示 */
@media (min-width: 1400px) {
    #pricing .pricing-plan-card {
        max-width: none;
    }
}

@media (max-width: 1399px) and (min-width: 1200px) {
    #pricing > div:nth-of-type(2) {
        grid-template-columns: repeat(5, 1fr) !important;
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    #pricing > div:nth-of-type(2) {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    #pricing > div:nth-of-type(2) {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 767px) {
    #pricing > div:nth-of-type(2) {
        grid-template-columns: 1fr !important;
    }
}

/* 强制价格卡片横向布局 */
.pricing-cards-grid {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 20px !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
}

/* 响应式调整 */
@media (max-width: 1199px) {
    .pricing-cards-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 991px) {
    .pricing-cards-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 767px) {
    .pricing-cards-grid {
        grid-template-columns: 1fr !important;
    }
}

/* 强制用 Flex 布局保证横排 */
.pricing-cards-grid {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}
.pricing-cards-grid .pricing-plan-card {
    flex: 1 1 260px;
    max-width: 320px;
}
@media (min-width: 1200px) {
    .pricing-cards-grid .pricing-plan-card { max-width: 260px; }
}
/* 强制会员计划横向栅格布局（覆盖一切冲突） */
.pricing-cards-grid { display: flex !important; flex-wrap: wrap !important; gap: 20px !important; justify-content: center; }
.pricing-cards-grid > .pricing-plan-card { box-sizing: border-box; width: auto !important; flex: 0 0 calc(20% - 16px) !important; max-width: calc(20% - 16px) !important; }
@media (max-width: 1199px) { .pricing-cards-grid > .pricing-plan-card { flex: 0 0 calc(33.333% - 16px) !important; max-width: calc(33.333% - 16px) !important; } }
@media (max-width: 991px)  { .pricing-cards-grid > .pricing-plan-card { flex: 0 0 calc(50% - 16px) !important; max-width: calc(50% - 16px) !important; } }
@media (max-width: 767px)  { .pricing-cards-grid > .pricing-plan-card { flex: 0 0 100% !important; max-width: 100% !important; } }
