/* 重置和基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    background: #fff;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5em;
    font-weight: bold;
    color: #2563eb;
}

.brand-icon {
    font-size: 1.2em;
}

.brand-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 500;
    text-transform: uppercase;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-item {
    text-decoration: none;
    color: #64748b;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 0;
    position: relative;
}

.nav-item:hover {
    color: #2563eb;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #2563eb;
    transition: width 0.3s ease;
}

.nav-item:hover::after {
    width: 100%;
}

.auth-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white !important;
    padding: 10px 20px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.auth-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.auth-btn::after {
    display: none;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5em;
    color: #64748b;
    cursor: pointer;
}

/* 导航栏用户状态 */
.navbar-user-status {
    display: flex;
    align-items: center;
    gap: 20px;
}

.navbar-quota {
    display: flex;
    align-items: center;
    background: rgba(102, 126, 234, 0.1);
    padding: 6px 12px;
    border-radius: 15px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.quota-text {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85em;
    color: #667eea;
    font-weight: 500;
}

.navbar-user-menu {
    position: relative;
}

.navbar-user-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: #64748b;
    font-weight: 500;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-user-btn:hover {
    background: #f1f5f9;
    color: #2563eb;
}

.navbar-user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 8px;
}

.navbar-user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: #64748b;
    text-decoration: none;
    border: none;
    background: none;
    width: 100%;
    font-size: 0.9em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: #f8fafc;
    color: #2563eb;
}

.dropdown-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 8px 0;
}

/* 导航栏访客状态 */
.navbar-guest-status {
    display: flex;
    align-items: center;
    gap: 15px;
}

.guest-quota {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
    padding: 6px 12px;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.guest-text {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85em;
    color: white;
    font-weight: 500;
}

.guest-remaining {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8em;
    font-weight: 600;
    margin-left: 6px;
}

.guest-register-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 0.8em;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

.guest-register-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.guest-login-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 0.8em;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.guest-login-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #5b6fd8 0%, #6d5b98 100%);
}

.guest-actions {
    display: flex;
    gap: 8px;
}

/* 登录提示栏 */
.login-notice {
    background: #f8fafc;
    border-left: 4px solid #667eea;
    padding: 15px 0;
    margin-top: 70px;
}

.notice-content {
    display: flex;
    align-items: center;
    gap: 20px;
}

.notice-icon {
    font-size: 2em;
    color: #667eea;
}

.notice-text {
    flex: 1;
}

.notice-text h4 {
    margin: 0 0 5px 0;
    color: #1e293b;
    font-size: 1.1em;
}

.notice-text p {
    margin: 0;
    color: #64748b;
    font-size: 0.9em;
}

.notice-actions {
    display: flex;
    gap: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
    background: #6b7280;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-secondary:hover {
    background: #4b5563;
    transform: translateY(-2px);
}

/* Hero区域 */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 3.5em;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.highlight {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2em;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.6;
}

.hero-features {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9em;
    font-weight: 500;
}

.feature-item i {
    color: #10b981;
}

/* Demo卡片 */
.demo-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    color: #333;
}

.demo-header {
    text-align: center;
    margin-bottom: 30px;
}

.demo-header h3 {
    color: #1e293b;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.demo-header p {
    color: #64748b;
    font-size: 0.9em;
}

/* 上传区域 */
.upload-zone {
    border: 3px dashed #e2e8f0;
    border-radius: 15px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 20px;
}

.upload-zone:hover,
.upload-zone.dragover {
    border-color: #667eea;
    background: #f8fafc;
    transform: scale(1.02);
}

.upload-icon {
    font-size: 3em;
    color: #667eea;
    margin-bottom: 20px;
}

.upload-zone h4 {
    color: #1e293b;
    margin-bottom: 10px;
}

.upload-zone p {
    color: #64748b;
    margin-bottom: 25px;
}

.upload-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.upload-tips {
    color: #64748b;
    font-size: 0.8em;
}

/* 处理状态 */
.processing-zone {
    text-align: center;
    padding: 40px 20px;
}

.loading-animation {
    margin-bottom: 20px;
}

.loading-animation i {
    font-size: 3em;
    color: #667eea;
}

.processing-zone h4 {
    color: #1e293b;
    margin-bottom: 10px;
}

.processing-zone p {
    color: #64748b;
    margin-bottom: 25px;
}

.progress-container {
    max-width: 300px;
    margin: 0 auto;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 0%;
    transition: width 0.3s ease;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.progress-text {
    font-size: 0.8em;
    color: #64748b;
}

/* 结果区域 */
.result-zone {
    padding: 0;
}

.result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
}

.result-header h4 {
    color: #10b981;
    display: flex;
    align-items: center;
    gap: 10px;
}

.confidence-display {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9em;
}

.confidence-meter {
    width: 100px;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}

.confidence-fill {
    height: 100%;
    background: #10b981;
    transition: width 0.5s ease;
}

.result-content {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.result-preview img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.image-meta {
    text-align: center;
    margin-top: 10px;
    color: #64748b;
    font-size: 0.8em;
}

.text-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.text-header h5 {
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
}

.text-actions {
    display: flex;
    gap: 10px;
}

.action-btn {
    padding: 6px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    color: #64748b;
    font-size: 0.8em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.action-btn:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

#resultText {
    width: 100%;
    height: 150px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px;
    font-family: inherit;
    font-size: 0.9em;
    resize: vertical;
    transition: border-color 0.3s ease;
}

#resultText:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.result-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.restart-btn {
    background: #f8fafc;
    color: #64748b;
    border: 1px solid #e2e8f0;
    padding: 12px 24px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.restart-btn:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
}

/* 通用区域样式 */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1e293b;
}

.section-header p {
    font-size: 1.1em;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* 功能特色 */
.features {
    padding: 100px 0;
    background: #f8fafc;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    border-color: #667eea;
}

.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 25px auto;
    color: white;
    font-size: 2em;
}

.feature-card h3 {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1e293b;
}

.feature-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
}

.feature-card ul {
    list-style: none;
    text-align: left;
}

.feature-card ul li {
    color: #64748b;
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.feature-card ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* 工作流程 */
.workflow {
    padding: 100px 0;
    background: white;
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    max-width: 900px;
    margin: 0 auto;
}

.workflow-step {
    text-align: center;
    position: relative;
}

.workflow-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 50px;
    right: -30px;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #667eea, transparent);
    z-index: -1;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5em;
    font-weight: bold;
    margin: 0 auto 20px auto;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.step-content h3 {
    font-size: 1.3em;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1e293b;
}

.step-content p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
}

.step-icon {
    font-size: 2em;
    color: #667eea;
}

/* 套餐价格 */
.pricing {
    padding: 100px 0;
    background: #f8fafc;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1000px;
    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.08);
    transition: all 0.3s ease;
    border: 2px solid #e2e8f0;
    position: relative;
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.pricing-card.featured {
    border-color: #667eea;
    transform: scale(1.05);
    box-shadow: 0 25px 50px rgba(102, 126, 234, 0.2);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.plan-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: 0.8em;
    font-weight: 600;
}

.plan-header h3 {
    font-size: 1.5em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #1e293b;
}

.plan-price {
    margin-bottom: 10px;
}

.plan-price .price {
    font-size: 2.5em;
    font-weight: 700;
    color: #667eea;
}

.plan-price .period {
    font-size: 1em;
    color: #64748b;
}

.plan-header p {
    color: #64748b;
    margin-bottom: 30px;
}

.plan-features ul {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.plan-features ul li {
    padding: 10px 0;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-features ul li i {
    color: #10b981;
    font-size: 0.9em;
}

.plan-btn {
    width: 100%;
    padding: 15px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.plan-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.pricing-card:not(.featured) .plan-btn {
    background: #6b7280;
}

.pricing-card:not(.featured) .plan-btn:hover {
    background: #4b5563;
    box-shadow: 0 10px 25px rgba(107, 114, 128, 0.3);
}

/* 页脚 */
.footer {
    background: #1e293b;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 1.2em;
    font-weight: 600;
    margin-bottom: 20px;
    color: white;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #667eea;
}

.company-info p {
    color: #94a3b8;
    margin-bottom: 20px;
    line-height: 1.6;
}

.contact-info p {
    color: #94a3b8;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: #667eea;
    width: 16px;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 30px;
    text-align: center;
    color: #94a3b8;
    font-size: 0.9em;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .navbar-menu {
        display: none;
    }

    .navbar-user-status {
        gap: 10px;
    }

    .navbar-quota {
        padding: 4px 8px;
    }

    .quota-text {
        font-size: 0.75em;
    }

    .navbar-username {
        display: none;
    }

    .navbar-guest-status {
        gap: 8px;
    }

    .guest-quota {
        padding: 4px 8px;
    }

    .guest-text {
        font-size: 0.75em;
    }

    .guest-remaining {
        font-size: 0.7em;
        padding: 1px 6px;
    }

    .guest-register-btn {
        padding: 4px 8px;
        font-size: 0.7em;
    }

    .guest-login-btn {
        padding: 4px 8px;
        font-size: 0.7em;
    }

    .guest-actions {
        gap: 6px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5em;
    }

    .hero-features {
        flex-direction: column;
        gap: 15px;
    }

    .demo-card {
        padding: 20px;
    }

    .result-content {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .workflow-steps {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .workflow-step::after {
        display: none;
    }

    .section-header h2 {
        font-size: 2em;
    }

    .notice-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .notice-actions {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2em;
    }

    .hero-subtitle {
        font-size: 1em;
    }

    .upload-zone {
        padding: 30px 15px;
    }

    .demo-card {
        padding: 15px;
    }
}

/* 升级提示卡片样式 */
.upgrade-prompt-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    margin: 20px 0;
    padding: 0;
    box-shadow: 0 8px 32px rgba(102, 126, 234, 0.3);
    overflow: hidden;
    animation: slideIn 0.5s ease-out;
}

.upgrade-prompt-content {
    display: flex;
    align-items: center;
    padding: 20px;
    gap: 20px;
    color: white;
}

.upgrade-prompt-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.upgrade-prompt-icon i {
    font-size: 24px;
    color: white;
}

.upgrade-prompt-text {
    flex: 1;
}

.upgrade-prompt-text h4 {
    margin: 0 0 8px 0;
    font-size: 1.3em;
    font-weight: 600;
    color: white;
}

.upgrade-prompt-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

.upgrade-prompt-action {
    flex-shrink: 0;
}

.upgrade-prompt-action .btn {
    background: white;
    color: #667eea;
    border: none;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.upgrade-prompt-action .btn:hover {
    background: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .upgrade-prompt-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px;
    }

    .upgrade-prompt-icon {
        margin: 0 auto;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
    }
}

/* 订单管理样式 */
.orders-section {
    margin-top: 20px;
}

.orders-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.orders-header h4 {
    margin: 0;
    color: #333;
    font-size: 1.3em;
}

.orders-filter select {
    padding: 8px 12px;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    background: white;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.orders-filter select:focus {
    outline: none;
    border-color: #667eea;
}

.orders-container {
    min-height: 200px;
}

.order-card {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.order-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.order-info h5 {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 1.1em;
}

.order-info p {
    margin: 0;
    color: #666;
    font-size: 0.9em;
}

.order-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8em;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-status.pending {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeeba;
}

.order-status.paid {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.order-status.cancelled {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.order-status.expired {
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
}

.order-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.order-detail-item {
    text-align: center;
}

.order-detail-item .label {
    display: block;
    font-size: 0.8em;
    color: #666;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-detail-item .value {
    display: block;
    font-size: 1.1em;
    font-weight: 600;
    color: #333;
}

.order-detail-item .value.amount {
    color: #667eea;
    font-size: 1.2em;
}

.order-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding-top: 15px;
    border-top: 1px solid #e9ecef;
}

.order-actions .btn {
    padding: 8px 16px;
    font-size: 0.9em;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.order-actions .btn-primary {
    background: #667eea;
    color: white;
}

.order-actions .btn-primary:hover {
    background: #5a6fd8;
    transform: translateY(-1px);
}

.order-actions .btn-secondary {
    background: #6c757d;
    color: white;
}

.order-actions .btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

.order-actions .btn-danger {
    background: #dc3545;
    color: white;
}

.order-actions .btn-danger:hover {
    background: #c82333;
    transform: translateY(-1px);
}

.loading-spinner {
    text-align: center;
    padding: 40px;
    color: #666;
    font-size: 1.1em;
}

.loading-spinner i {
    margin-right: 10px;
    color: #667eea;
}

.empty-orders {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.empty-orders i {
    font-size: 4em;
    color: #e9ecef;
    margin-bottom: 20px;
}

.empty-orders h4 {
    margin: 0 0 10px 0;
    color: #333;
}

.empty-orders p {
    margin: 0;
    font-size: 0.9em;
}

/* 分页样式 */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    padding: 20px 0;
}

.pagination-info {
    color: #666;
    font-size: 0.9em;
    margin-right: 20px;
}

.pagination-buttons {
    display: flex;
    gap: 5px;
}

.pagination-btn {
    padding: 8px 12px;
    border: 1px solid #e9ecef;
    background: white;
    color: #333;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9em;
}

.pagination-btn:hover {
    background: #f8f9fa;
    border-color: #667eea;
}

.pagination-btn.active {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .orders-header {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .order-header {
        flex-direction: column;
        gap: 10px;
    }
    
    .order-details {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .order-actions {
        flex-direction: column;
    }
    
    .pagination-container {
        flex-direction: column;
        gap: 15px;
    }
} 

/* 计费周期提示样式 */
.billing-cycle-note {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 12px 15px;
    margin-top: 10px;
    color: #6c757d;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.billing-cycle-note i {
    color: #007bff;
    font-size: 1em;
}

/* 年付用户升级提示样式 */
.yearly-user-notice {
    background: #e8f4fd;
    border: 1px solid #b8daff;
    border-radius: 6px;
    padding: 12px 15px;
    margin-bottom: 15px;
    color: #004085;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.yearly-user-notice i {
    color: #007bff;
    font-size: 1.1em;
} 