/* 账户中心样式 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #FFFFFF;
    background-image: url('../beijing/baijing1.png');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-attachment: fixed;
    min-height: 100vh;
}

/* 导航栏 */
.navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 64px;
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

.brand-name {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* 工作台下拉 */
.workspace-dropdown {
    position: relative;
}

.workspace-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s ease;
}

.workspace-btn:hover {
    border-color: #3B82F6;
    color: #3B82F6;
}

.workspace-btn .dropdown-arrow {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
}

.workspace-dropdown:hover .workspace-btn .dropdown-arrow {
    transform: rotate(180deg);
}

.workspace-panel {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 280px;
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    box-shadow: 0 12px 32px -4px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 8px;
}

.workspace-dropdown:hover .workspace-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.workspace-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.15s ease;
}

.workspace-item:hover {
    background: #F9FAFB;
}

.workspace-icon {
    width: 20px;
    height: 20px;
    color: #6B7280;
    flex-shrink: 0;
}

.workspace-info {
    flex: 1;
}

.workspace-name {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.workspace-desc {
    font-size: 12px;
    color: #9CA3AF;
    margin-top: 2px;
}

/* 预约链接 */
.appointment-link {
    font-size: 14px;
    color: #6B7280;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.appointment-link:hover {
    color: #3B82F6;
}

/* 用户头像触发器 */
.user-avatar-trigger {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 4px 8px 4px 4px;
    border-radius: 10px;
    transition: background 0.2s ease;
    user-select: none;
}

.user-avatar-trigger:hover {
    background: #F9FAFB;
}

.user-avatar-trigger.active {
    background: #F3F4F6;
}

.avatar-container {
    position: relative;
}

.avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #3B82F6;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    overflow: hidden;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.online-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 8px;
    height: 8px;
    background: #10B981;
    border: 2px solid #FFFFFF;
    border-radius: 50%;
}

.user-avatar-trigger .dropdown-arrow {
    width: 14px;
    height: 14px;
    color: #9CA3AF;
    transition: transform 0.2s ease;
}

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

/* 用户下拉面板 */
.user-dropdown-panel {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 320px; /* 固定宽度，防止内容挤压 */
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    box-shadow: 0 20px 48px -8px rgba(0,0,0,0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    overflow: hidden;
    padding: 0; /* 禁止全局padding */
}

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

/* 额度告警横幅 */
.quota-alert {
    padding: 10px 20px;
    background: #FEF2F2;
    border-bottom: 1px solid #FECACA;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #B91C1C;
    font-weight: 500;
}

.quota-alert svg {
    width: 16px;
    height: 16px;
    color: #EF4444;
    flex-shrink: 0;
}

.quota-alert a {
    font-size: 12px;
    color: #3B82F6;
    margin-left: auto;
    text-decoration: none;
    font-weight: 500;
}

.quota-alert a:hover {
    color: #2563EB;
}

/* 用户摘要区 */
.user-summary {
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-bottom: 1px solid #F3F4F6;
}

.user-avatar-large {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #3B82F6;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 600;
    flex-shrink: 0;
    overflow: hidden;
}

.user-info {
    flex: 1;
    min-width: 0;
}

.user-name {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-email {
    font-size: 12px;
    color: #9CA3AF;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-tier {
    padding: 4px 10px;
    background: #EFF6FF;
    color: #3B82F6;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    flex-shrink: 0;
    letter-spacing: 0.5px;
}

/* 产品订阅区 */
.product-subscriptions {
    padding: 12px 0;
    border-bottom: 1px solid #F3F4F6;
}

.section-title {
    padding: 8px 20px;
    font-size: 12px;
    font-weight: 600;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-row {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    gap: 12px;
    cursor: pointer;
    transition: all 0.15s ease;
    position: relative;
    border-left: 2px solid transparent;
    text-decoration: none;
}

.product-row:hover {
    background: #F9FAFB;
}

.product-row.active {
    background: #FAFBFF;
    border-left-color: #3B82F6;
}

.product-icon {
    width: 20px;
    height: 20px;
    margin-right: 12px;
    flex-shrink: 0;
    color: #6B7280;
}

.product-row.active .product-icon {
    color: #3B82F6;
}

.product-name {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-status {
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    margin-right: 10px;
    flex-shrink: 0;
    letter-spacing: 0.3px;
}

.status-pro {
    background: #EFF6FF;
    color: #3B82F6;
}

.status-beta {
    background: #ECFDF5;
    color: #10B981;
}

.status-standard {
    background: #F3F4F6;
    color: #6B7280;
}

.status-trial {
    background: #FEF3C7;
    color: #D97706;
}

.status-inactive {
    background: #F3F4F6;
    color: #9CA3AF;
}

.product-quota {
    font-size: 12px;
    color: #9CA3AF;
    flex-shrink: 0;
    text-align: right;
    min-width: 60px;
}

.product-row.active .product-quota {
    color: #3B82F6;
    font-weight: 500;
}

.arrow-icon {
    width: 16px;
    height: 16px;
    color: #9CA3AF;
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.2s ease;
}

.product-row:hover .arrow-icon {
    opacity: 1;
    transform: translateX(0);
}

/* 额度可视化 */
.quota-viz {
    width: 100%;
    padding: 0 20px 8px 52px;
    display: none;
}

.product-row.active .quota-viz,
.product-row:hover .quota-viz {
    display: block;
}

.progress-bar-container {
    height: 4px;
    background: #E5E7EB;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 4px;
}

.progress-bar-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.3s ease;
    background: #3B82F6;
}

.progress-bar-fill.warning {
    background: #F59E0B;
}

.progress-bar-fill.danger {
    background: #EF4444;
}

.quota-text {
    font-size: 11px;
    color: #9CA3AF;
}

/* 未开通产品 */
.product-inactive {
    opacity: 0.7;
}

.product-inactive .product-icon {
    color: #D1D5DB;
}

.product-inactive .product-name {
    color: #9CA3AF;
}

.activate-link {
    font-size: 12px;
    color: #3B82F6;
    font-weight: 500;
    text-decoration: none;
    margin-left: auto;
}

.activate-link:hover {
    color: #2563EB;
}

/* 账户操作区 */
.account-actions {
    padding: 8px 0;
    border-bottom: 1px solid #F3F4F6;
}

.action-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none;
}

.action-item:hover {
    background: #F9FAFB;
}

.action-item svg {
    width: 16px;
    height: 16px;
    color: #6B7280;
    flex-shrink: 0;
}

.action-item span {
    font-size: 14px;
    color: #374151;
    font-weight: 500;
}

.arrow-right {
    width: 14px;
    height: 14px;
    color: #D1D5DB;
    margin-left: auto;
    opacity: 0;
    transition: all 0.2s ease;
}

.action-item:hover .arrow-right {
    opacity: 1;
    transform: translateX(2px);
}

/* 底部退出 */
.panel-footer {
    padding: 12px 20px;
}

.logout-btn {
    width: 100%;
    padding: 10px 0;
    background: transparent;
    border: none;
    color: #6B7280;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.15s ease;
    text-align: center;
}

.logout-btn:hover {
    background: #FEF2F2;
    color: #EF4444;
}

/* 账户布局 */
.account-layout {
    display: flex;
    min-height: 100vh;
    padding-top: 64px;
}

/* 左侧边栏 */
.sidebar {
    width: 260px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.06);
    padding: 24px 0;
    position: fixed;
    height: calc(100vh - 64px);
    overflow-y: auto;
    z-index: 100;
}

/* 返回首页按钮 */
.sidebar-back {
    padding: 0 20px;
}

.back-home-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: #F9FAFB;
    border-radius: 10px;
    text-decoration: none;
    color: #6B7280;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.back-home-link:hover {
    background: #F3F4F6;
    color: #374151;
}

.back-home-link svg {
    width: 16px;
    height: 16px;
}

/* 用户信息区 */
.sidebar-user {
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: 600;
    flex-shrink: 0;
}

.user-details {
    flex: 1;
    min-width: 0;
}

.user-name-text {
    font-size: 15px;
    font-weight: 600;
    color: #111827;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-role-tag {
    font-size: 12px;
    color: #6B7280;
    margin-top: 2px;
}

.sidebar-brand {
    padding: 0 24px;
}

.sidebar-logo {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    margin-bottom: 12px;
}

.sidebar-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

.sidebar-email {
    font-size: 13px;
    color: #9CA3AF;
    margin-top: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 侧边栏导航 */
.sidebar-nav {
    flex: 1;
}

.nav-section {
    margin-bottom: 24px;
}

.nav-section-title {
    padding: 12px 24px;
    font-size: 11px;
    font-weight: 600;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none;
    border-left: 2px solid transparent;
}

.nav-item:hover {
    background: #F9FAFB;
}

.nav-item.active {
    background: #FAFBFF;
    border-left-color: #3B82F6;
}

.nav-item svg {
    width: 18px;
    height: 18px;
    color: #6B7280;
}

.nav-item.active svg {
    color: #3B82F6;
}

.nav-item span {
    font-size: 14px;
    color: #374151;
    font-weight: 500;
}

.nav-item.active span {
    color: #3B82F6;
    font-weight: 600;
}

/* 侧边栏底部 */
.sidebar-footer {
    padding: 16px 24px;
    border-top: 1px solid #F3F4F6;
}

.back-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6B7280;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
}

.back-link svg {
    width: 16px;
    height: 16px;
}

.back-link:hover {
    color: #374151;
}

/* 主内容区 */
.main-content {
    margin-left: 260px;
    flex: 1;
    padding: 32px 40px;
    min-height: calc(100vh - 64px);
    background: transparent;
}

/* Profile 页面内容居中 */
.main-content.profile-centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* 面包屑 */
.breadcrumb {
    font-size: 13px;
    color: #9CA3AF;
    margin-bottom: 8px;
}

.breadcrumb-item.active {
    color: #374151;
    font-weight: 500;
}

.breadcrumb-separator {
    margin: 0 8px;
}

/* 页面标题 */
.page-title {
    font-size: 28px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

/* 欢迎卡片 */
.welcome-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.welcome-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #3B82F6;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 600;
    flex-shrink: 0;
}

.welcome-info {
    flex: 1;
}

.welcome-greeting {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
}

.welcome-email {
    font-size: 14px;
    color: #6B7280;
    margin-top: 4px;
}

.welcome-registered {
    font-size: 13px;
    color: #9CA3AF;
    margin-top: 2px;
}

.welcome-actions {
    margin-left: auto;
    display: flex;
    gap: 12px;
}

.btn-edit-profile {
    padding: 8px 16px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 14px;
    color: #374151;
    background: #FFFFFF;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
}

.btn-edit-profile:hover {
    border-color: #3B82F6;
    color: #3B82F6;
}

/* 产品卡片网格 */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.product-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 24px;
    transition: all 0.2s ease;
}

.product-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    transform: translateY(-2px);
}

.product-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.product-card-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.product-card-icon {
    width: 32px;
    height: 32px;
}

.product-card-name {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
}

/* 额度列表 */
.product-quotas {
    margin-bottom: 20px;
}

.quota-item {
    margin-bottom: 16px;
}

.quota-item:last-child {
    margin-bottom: 0;
}

.quota-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.quota-name {
    font-size: 13px;
    color: #6B7280;
}

.quota-value {
    font-size: 13px;
    color: #374151;
    font-weight: 500;
}

.quota-value.quota-warning {
    color: #F59E0B;
}

.quota-value.quota-danger {
    color: #EF4444;
}

.quota-progress {
    height: 6px;
    background: #E5E7EB;
    border-radius: 3px;
    overflow: hidden;
}

.quota-progress-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 0.3s ease;
    background: #3B82F6;
}

.quota-progress-fill.warning {
    background: #F59E0B;
}

.quota-progress-fill.danger {
    background: #EF4444;
}

/* 产品卡片底部 */
.product-card-footer {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #F3F4F6;
    display: flex;
    gap: 12px;
}

.btn-enter {
    flex: 1;
    padding: 8px 0;
    background: #3B82F6;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s;
    display: block;
}

.btn-enter:hover {
    background: #2563EB;
}

.btn-manage {
    flex: 1;
    padding: 8px 0;
    background: #F3F4F6;
    color: #374151;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s;
    display: block;
}

.btn-manage:hover {
    background: #E5E7EB;
}

/* 未开通产品卡片 */
.product-card-inactive {
    opacity: 0.8;
}

.product-card-inactive .product-card-icon {
    color: #D1D5DB !important;
}

.product-card-inactive .product-card-name {
    color: #9CA3AF;
}

.product-card-desc {
    font-size: 13px;
    color: #9CA3AF;
    margin: 12px 0 20px;
    line-height: 1.5;
}

.btn-activate {
    width: 100%;
    padding: 10px 0;
    background: #EFF6FF;
    color: #3B82F6;
    border: 1px solid #BFDBFE;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
}

.btn-activate:hover {
    background: #DBEAFE;
}

/* 页面内容区 */
.page-content {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 24px;
}

/* 响应式 */
@media (max-width: 1024px) {
    .sidebar {
        width: 220px;
    }

    .main-content {
        margin-left: 220px;
        padding: 24px;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .navbar-container {
        padding: 0 20px;
    }

    .user-dropdown-panel {
        width: calc(100vw - 32px);
        right: 16px;
    }

    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
        padding: 20px;
    }

    .welcome-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .welcome-actions {
        width: 100%;
        margin-left: 0;
    }

    .btn-edit-profile {
        width: 100%;
    }

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

/* ========================================
   个人资料页面样式
   ======================================== */

.profile-page {
    max-width: 800px;
}

/* 个人资料页头部 */
.profile-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
    padding: 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    color: white;
}

.profile-avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.profile-header-info {
    flex: 1;
}

.profile-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px 0;
}

.profile-subtitle {
    font-size: 15px;
    opacity: 0.9;
    margin: 0;
}

/* 表单卡片 */
.profile-form-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 24px;
}

.form-section {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid #F3F4F6;
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 24px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.optional-tag {
    font-size: 12px;
    font-weight: 500;
    color: #6B7280;
    background: #F3F4F6;
    padding: 2px 8px;
    border-radius: 4px;
}

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

.form-row:last-child {
    margin-bottom: 0;
}

.form-row-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 8px;
}

.form-label svg {
    width: 16px;
    height: 16px;
    color: #6B7280;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    font-size: 15px;
    color: #111827;
    background: #FFFFFF;
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-input:disabled {
    background: #F9FAFB;
    color: #9CA3AF;
    cursor: not-allowed;
}

.form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    font-size: 15px;
    color: #111827;
    background: #FFFFFF;
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
    transition: all 0.2s ease;
}

.form-textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-hint {
    font-size: 12px;
    color: #6B7280;
    margin-top: 6px;
}

.form-hint-warning {
    color: #F59E0B;
}

/* 单选按钮组 */
.radio-group {
    display: flex;
    gap: 12px;
}

.radio-option {
    cursor: pointer;
}

.radio-option input {
    display: none;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    font-size: 14px;
    color: #6B7280;
    transition: all 0.2s ease;
}

.radio-label svg {
    width: 16px;
    height: 16px;
}

.radio-option input:checked + .radio-label {
    background: #EFF6FF;
    border-color: #667eea;
    color: #667eea;
}

.radio-option:hover .radio-label {
    border-color: #D1D5DB;
}

/* 表单操作按钮 */
.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 24px;
    border-top: 1px solid #F3F4F6;
    margin-top: 24px;
}

.btn-primary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
    transform: translateY(-1px);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-primary svg {
    width: 18px;
    height: 18px;
}

.btn-secondary {
    padding: 12px 24px;
    background: #FFFFFF;
    color: #6B7280;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: #F9FAFB;
    border-color: #D1D5DB;
}

/* 提示卡片 */
.profile-tips-card {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 24px;
}

.tips-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 16px 0;
}

.tips-title svg {
    width: 20px;
    height: 20px;
    color: #3B82F6;
}

.tips-content {
    font-size: 14px;
    color: #6B7280;
    line-height: 1.8;
}

.tips-content p {
    margin: 0 0 8px 0;
}

.tips-content strong {
    color: #374151;
}

/* 头像示例 */
.avatar-example {
    display: flex;
    gap: 16px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #F3F4F6;
}

.avatar-demo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    font-weight: 600;
}

.avatar-demo-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.avatar-demo-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

/* 加载动画 */
.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

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

/* 响应式 */
@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }

    .form-row-group {
        grid-template-columns: 1fr;
    }

    .radio-group {
        flex-direction: column;
    }

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

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* 个人设置页面样式 */
.settings-container {
    max-width: 800px;
}

.settings-section {
    background: #FFFFFF;
    border: 1px solid #E5E7EB;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 20px;
}

.avatar-upload-area {
    display: flex;
    align-items: center;
    gap: 24px;
}

.avatar-preview {
    flex-shrink: 0;
}

.avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #3B82F6;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 600;
}

.avatar-upload-info {
    flex: 1;
}

.upload-hint {
    font-size: 13px;
    color: #6B7280;
    margin-bottom: 12px;
}

.btn-upload {
    padding: 8px 16px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 14px;
    color: #374151;
    background: #FFFFFF;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-upload:hover {
    border-color: #3B82F6;
    color: #3B82F6;
}

.settings-form {
    max-width: 480px;
}

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

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    font-size: 15px;
    color: #111827;
    transition: all 0.2s;
}

.form-input:focus {
    border-color: #3B82F6;
    outline: none;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.08);
}

.form-input:read-only {
    background: #F9FAFB;
    color: #6B7280;
    cursor: not-allowed;
}

.form-hint {
    font-size: 12px;
    color: #9CA3AF;
    margin-top: 4px;
}

.input-with-suffix {
    display: flex;
    gap: 12px;
}

.input-with-suffix .form-input {
    flex: 1;
}

.input-suffix-btn {
    flex-shrink: 0;
    padding: 0 16px;
    border: 1px solid #E5E7EB;
    border-radius: 10px;
    font-size: 14px;
    color: #3B82F6;
    background: #FFFFFF;
    cursor: pointer;
    transition: all 0.2s;
}

.input-suffix-btn:hover {
    background: #EFF6FF;
}

.form-actions {
    margin-top: 32px;
}

.btn-save {
    width: 120px;
    height: 40px;
    background: #3B82F6;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-save:hover {
    background: #2563EB;
}

/* ========================================
   订阅页面样式
   ======================================== */

.subscription-page {
    max-width: 1200px;
	margin: 0 auto;
	padding-top: 20px;
}

/* 订阅页面标题区域 */
.subscription-header {
	text-align: center;
	margin-bottom: 40px;
    background: transparent;
}

/* 产品选择器 */
.product-selector {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-bottom: 24px;
	background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
	padding: 8px;
	border-radius: 12px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* ========================================
   订阅页面样式 - 企业级重构版
   配色：统一蓝色系，删除AI元素
   ======================================== */

/* 产品选择器 - 蓝色Tab风格 */
.product-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    background: white;
    color: #64748B;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.product-btn:hover {
    background: #F8FAFC;
    color: #374151;
    border-color: #CBD5E1;
}

.product-btn.active {
    background: #3B82F6;
    color: white;
    border-color: #3B82F6;
    box-shadow: none;
}

.product-btn svg {
    width: 18px;
    height: 18px;
}

/* 当前订阅卡片 - 蓝色风格 */
.current-subscription-card {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.25);
}

.current-sub-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.current-sub-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.current-status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    width: fit-content;
}

.current-sub-title {
    font-size: 24px;
    font-weight: 700;
}

.current-sub-desc {
    font-size: 14px;
    opacity: 0.9;
}

.current-days-box {
    text-align: center;
    background: rgba(255,255,255,0.15);
    border-radius: 8px;
    padding: 16px 24px;
}

.days-number {
    font-size: 36px;
    font-weight: 800;
    line-height: 1;
}

.days-label {
    font-size: 13px;
    opacity: 0.9;
    margin-top: 4px;
}

.current-sub-footer {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.auto-renew-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 600;
}

.auto-renew-label input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: white;
}

.auto-renew-hint {
    font-size: 13px;
    opacity: 0.85;
}

/* 订阅计划区块 */
.plans-section {
    background: white;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border: 1px solid #E5E7EB;
}

.plans-header {
    text-align: center;
    margin-bottom: 32px;
}

.plans-title {
    font-size: 24px;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 8px 0;
}

.plans-subtitle {
    font-size: 15px;
    color: #64748B;
    margin: 0;
}

/* 定价卡片网格 */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

/* 公测半透明遮罩：覆盖在订阅方案之上，提示公测正式开启后开放正式订阅 */
.pricing-beta-wrapper {
    position: relative;
}

.beta-overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.55) 0%, rgba(30, 41, 59, 0.45) 100%);
    backdrop-filter: blur(2px);
    border-radius: 12px;
    pointer-events: none;
    padding: 24px;
}

.beta-overlay-badge {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(59, 130, 246, 0.9);
    color: #fff;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.beta-overlay-title {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.beta-overlay-desc {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    max-width: 420px;
    line-height: 1.6;
}

.pricing-card {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 24px;
    position: relative;
    transition: all 0.2s ease;
}

.pricing-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.pricing-card-featured {
    border-top: 2px solid #3B82F6;
}

.pricing-card-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 12px;
    background: #3B82F6;
    color: white;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
}

.pricing-card-header {
    text-align: center;
    margin-bottom: 20px;
}

.pricing-tier {
    display: inline-block;
    padding: 4px 12px;
    background: #EFF6FF;
    color: #1D4ED8;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-card-featured .pricing-tier {
    background: #EFF6FF;
    color: #1D4ED8;
}

.pricing-name {
    font-size: 20px;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 4px 0;
}

.pricing-desc {
    font-size: 13px;
    color: #64748B;
    margin: 0;
}

.pricing-price {
    text-align: center;
    padding: 16px 0;
    border-top: 1px solid #F1F5F9;
    border-bottom: 1px solid #F1F5F9;
    margin-bottom: 16px;
}

.price-free {
    font-size: 36px;
    font-weight: 700;
    color: #10B981;
}

.price-sub {
    font-size: 13px;
    color: #64748B;
    margin-top: 4px;
}

.price-row {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.price-symbol {
    font-size: 20px;
    color: #64748B;
    font-weight: 600;
}

.price-value {
    font-size: 42px;
    font-weight: 700;
    color: #0F172A;
    line-height: 1;
}

.price-period {
    font-size: 16px;
    color: #64748B;
}

.price-year {
    margin-top: 8px;
    padding: 4px 12px;
    background: #FEF3C7;
    color: #92400E;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.pricing-features {
    margin-bottom: 20px;
}

.pricing-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 0;
    font-size: 14px;
    color: #374151;
}

.pricing-feature-item svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-btn {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.pricing-btn-primary {
    background: #3B82F6;
    color: white;
    border: none;
}

.pricing-btn-primary:hover {
    background: #2563EB;
}

.pricing-btn-outline {
    background: white;
    color: #3B82F6;
    border: 1px solid #BFDBFE;
}

/* 价格区域包装器 */
.price-wrapper {
    display: flex;
    align-items: baseline;
    justify-content: center;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 4px;
}

/* 原价（灰色划线） */
.original-price {
    color: #9CA3AF;
    font-size: 14px;
    text-decoration: line-through;
    margin-right: 8px;
}

/* 现价（蓝色大字体） */
.current-price {
    color: #3B82F6;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

/* 价格单位 */
.price-unit {
    color: #6B7280;
    font-size: 14px;
    font-weight: 400;
}

/* 折扣标签（红色圆角） */
.discount-badge {
    background: #FEF2F2;
    color: #DC2626;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
    font-weight: 600;
}

/* 年付标签（浅黄背景） */
.yearly-tag {
    background: #FEF3C7;
    color: #92400E;
    border-radius: 4px;
    padding: 4px 8px;
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 12px;
    flex-wrap: wrap;
}

/* 年付原价（划线） */
.original-yearly {
    color: #92400E;
    text-decoration: line-through;
    opacity: 0.7;
}

/* 年付现价 */
.current-yearly {
    color: #92400E;
    font-weight: 700;
}

/* 立省标签（红色） */
.save-tag {
    background: #FEF2F2;
    color: #DC2626;
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 12px;
    font-weight: 600;
}

/* 旧的年付样式（保留兼容） */
.price-year {
    margin-top: 8px;
    padding: 4px 12px;
    background: #FEF3C7;
    color: #92400E;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}

.pricing-btn-outline:hover {
    background: #EFF6FF;
    border-color: #3B82F6;
}

/* 企业版区块 - 玻璃卡片风格 */
.enterprise-section {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 32px;
    margin-top: 24px;
}

.enterprise-header-row {
    text-align: center;
    margin-bottom: 24px;
}

.enterprise-title {
    font-size: 20px;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 4px 0;
}

.enterprise-sub {
    font-size: 14px;
    color: #64748B;
    margin: 0;
}

.enterprise-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.enterprise-feat-card {
    background: #F8FAFC;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
}

.feat-icon-box {
    width: 40px;
    height: 40px;
    background: #EFF6FF;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.feat-label {
    font-size: 13px;
    color: #1D4ED8;
    font-weight: 600;
    margin-bottom: 4px;
}

.feat-value {
    font-size: 14px;
    color: #374151;
}

.enterprise-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.enterprise-hint {
    font-size: 14px;
    color: #64748B;
}

/* 功能对比表格 */
.comparison-section {
    margin-top: 32px;
}

.comparison-title {
    font-size: 18px;
    font-weight: 700;
    color: #0F172A;
    text-align: center;
    margin-bottom: 20px;
}

.comparison-table-wrapper {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.comparison-table th {
    padding: 12px 16px;
    text-align: center;
    font-weight: 600;
    color: #64748B;
    border-bottom: 2px solid #E5E7EB;
    background: #F8FAFC;
}

.comparison-table th:first-child {
    text-align: left;
}

.comparison-table th.highlight-col {
    color: #1D4ED8;
    background: #EFF6FF;
}

.comparison-table td {
    padding: 12px 16px;
    text-align: center;
    color: #374151;
    border-bottom: 1px solid #F1F5F9;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.comparison-table td.highlight-col {
    background: #FAFBFF;
}

/* 网络引擎区块 */
.network-engine-section {
    background: white;
    border-radius: 12px;
    padding: 32px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border: 1px solid #E5E7EB;
}

.engine-cta-card {
    background: #F8FAFC;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    margin-bottom: 32px;
}

.cta-icon-box {
    width: 56px;
    height: 56px;
    background: #EFF6FF;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.cta-title {
    font-size: 22px;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 12px 0;
}

.cta-desc {
    font-size: 15px;
    color: #64748B;
    line-height: 1.8;
    margin: 0 0 24px 0;
}

.cta-price-box {
    display: inline-block;
    background: white;
    padding: 16px 32px;
    border-radius: 8px;
    border: 1px solid #E5E7EB;
}

.cta-price-label {
    font-size: 14px;
    color: #64748B;
    margin-bottom: 4px;
}

.cta-price-value {
    font-size: 24px;
    font-weight: 700;
    color: #0F172A;
}

/* 合作模式 */
.cooperation-section {
    margin-bottom: 32px;
}

.cooperation-title {
    font-size: 18px;
    font-weight: 700;
    color: #0F172A;
    text-align: center;
    margin-bottom: 24px;
}

.cooperation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.cooperation-card {
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.2s ease;
}

.cooperation-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

.coop-icon-box {
    width: 48px;
    height: 48px;
    background: #F8FAFC;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.coop-name {
    font-size: 18px;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 8px 0;
}

.coop-desc {
    font-size: 14px;
    color: #64748B;
    line-height: 1.7;
    margin: 0 0 16px 0;
}

.coop-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.coop-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 14px;
    color: #374151;
}

/* 核心能力 */
.core-features-section {
    margin-bottom: 32px;
}

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

.core-feature-card {
    background: #F8FAFC;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
}

.core-feature-icon-box {
    width: 44px;
    height: 44px;
    background: #EFF6FF;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.core-feature-name {
    font-size: 15px;
    font-weight: 600;
    color: #0F172A;
    margin: 0 0 6px 0;
}

.core-feature-desc {
    font-size: 13px;
    color: #64748B;
    margin: 0;
}

/* 联系区块 - 玻璃背景 */
.contact-section {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
}

.contact-title {
    font-size: 24px;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 12px 0;
}

.contact-desc {
    font-size: 15px;
    color: #64748B;
    line-height: 1.8;
    margin: 0 0 28px 0;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.contact-buttons .btn-primary {
    background: #3B82F6;
    color: white;
    border: none;
}

.contact-buttons .btn-primary:hover {
    background: #2563EB;
}

.contact-buttons .btn-outline {
    background: white;
    color: #3B82F6;
    border: 1px solid #BFDBFE;
}

.contact-buttons .btn-outline:hover {
    background: #EFF6FF;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 48px;
    padding-top: 24px;
    border-top: 1px solid #E5E7EB;
    flex-wrap: wrap;
}

.contact-item {
    text-align: center;
}

.contact-label {
    font-size: 13px;
    color: #64748B;
    margin-bottom: 6px;
}

.contact-value {
    font-size: 15px;
    font-weight: 600;
    color: #0F172A;
}

.contact-link {
    color: #3B82F6;
    text-decoration: none;
}

.contact-link:hover {
    text-decoration: underline;
}

/* 订单历史 */
.orders-section {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border: 1px solid #E5E7EB;
    margin-top: 24px;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 16px 0;
}

.orders-table-wrapper {
    overflow-x: auto;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
}

.orders-table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: #64748B;
    font-size: 13px;
    border-bottom: 2px solid #F1F5F9;
}

.orders-table td {
    padding: 14px 16px;
    color: #374151;
    font-size: 14px;
    border-bottom: 1px solid #F1F5F9;
}

.order-no {
    font-family: monospace;
    font-size: 13px;
}

.order-amount {
    font-weight: 600;
    color: #0F172A;
}

.order-status {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
}

/* 错误状态 */
.error-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    text-align: center;
    padding: 40px;
}

.error-state h3 {
    font-size: 20px;
    color: #0F172A;
    margin: 16px 0 8px 0;
}

.error-state p {
    color: #64748B;
    margin: 0 0 24px 0;
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: #64748B;
}

/* 按钮样式重置 */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background: #3B82F6;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background: #2563EB;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    background: white;
    color: #3B82F6;
    border: 1px solid #BFDBFE;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-outline:hover {
    background: #EFF6FF;
}

/* 空状态 */
.empty-state {
    padding: 40px;
    text-align: center;
    color: #9CA3AF;
}

/* 通用标题样式 */
.section-title {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 16px 0;
}

/* 订阅模态框 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.subscription-modal {
    background: white;
    border-radius: 16px;
    padding: 32px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .subscription-modal {
    transform: translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    background: #F3F4F6;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6B7280;
    transition: all 0.2s;
}

.modal-close-btn:hover {
    background: #E5E7EB;
    color: #111827;
}

.modal-header {
    text-align: center;
    margin-bottom: 24px;
}

.modal-title {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 8px 0;
}

.modal-subtitle {
    font-size: 14px;
    color: #6B7280;
    margin: 0;
}

.modal-product-info {
    background: #F9FAFB;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
}

.modal-product-name {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 4px 0;
}

.modal-product-desc {
    font-size: 13px;
    color: #6B7280;
    margin: 0;
}

.modal-price-section {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid #E5E7EB;
    border-bottom: 1px solid #E5E7EB;
    margin-bottom: 24px;
}

.modal-price-label {
    font-size: 14px;
    color: #6B7280;
    margin: 0 0 8px 0;
}

.modal-price-value {
    font-size: 32px;
    font-weight: 700;
    color: #111827;
}

.modal-price-value span {
    font-size: 16px;
    font-weight: 500;
}

.modal-billing-toggle {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.modal-billing-btn {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s;
}

.modal-billing-btn.active {
    border-color: #3B82F6;
    background: #EFF6FF;
}

.modal-billing-btn-title {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
}

.modal-billing-btn-price {
    font-size: 12px;
    color: #6B7280;
    margin-top: 2px;
}

.modal-submit-btn {
    width: 100%;
    padding: 14px 24px;
    background: #3B82F6;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-submit-btn:hover {
    background: #2563EB;
}

.modal-submit-btn:disabled {
    background: #9CA3AF;
    cursor: not-allowed;
}

.modal-info-text {
    font-size: 12px;
    color: #9CA3AF;
    text-align: center;
    margin-top: 12px;
}

/* 支付状态模态框 */
.payment-status-modal {
    background: white;
    border-radius: 16px;
    padding: 40px 32px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.payment-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid #E5E7EB;
    border-top-color: #3B82F6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 24px;
}

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

.payment-status-title {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 8px 0;
}

.payment-status-desc {
    font-size: 14px;
    color: #6B7280;
    margin: 0;
}

.payment-success-icon {
    width: 60px;
    height: 60px;
    background: #10B981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.payment-success-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

/* 模态框关闭按钮 */
.modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: none;
    background: #F3F4F6;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6B7280;
    transition: all 0.2s;
}

.modal-close:hover {
    background: #E5E7EB;
    color: #111827;
}

/* 订阅模态框信息区域 */
.subscription-modal-info {
    text-align: center;
    margin-bottom: 24px;
}

.modal-plan-name {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 4px;
}

.modal-plan-desc {
    font-size: 14px;
    color: #6B7280;
}

/* 计费周期选项 */
.subscription-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.billing-option {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    border: 2px solid #E5E7EB;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.billing-option:hover {
    border-color: #D1D5DB;
}

.billing-option.selected {
    border-color: #3B82F6;
    background: #EFF6FF;
}

.billing-option input {
    display: none;
}

.option-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.option-name {
    font-size: 15px;
    font-weight: 500;
    color: #111827;
}

.discount-tag {
    display: inline-block;
    padding: 2px 8px;
    background: #EF4444;
    color: white;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 8px;
}

.option-price {
    font-size: 15px;
    font-weight: 600;
    color: #3B82F6;
}

/* 支付方式 */
.payment-method-section {
    margin-bottom: 20px;
}

.payment-method-title {
    font-size: 14px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 12px;
}

.payment-method-options {
    display: flex;
    gap: 12px;
}

.payment-option {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    border: 2px solid #E5E7EB;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s;
    flex: 1;
}

.payment-option:hover {
    border-color: #D1D5DB;
}

.payment-option.selected {
    border-color: #1677FF;
    background: #E6F4FF;
}

.payment-option input {
    display: none;
}

.payment-option-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.payment-option-content span {
    font-size: 14px;
    font-weight: 500;
    color: #111827;
}

/* 订阅协议 */
.subscription-agreement {
    margin-bottom: 20px;
}

.agreement-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 13px;
    color: #6B7280;
}

.agreement-checkbox input {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.agreement-checkbox a {
    color: #3B82F6;
    text-decoration: none;
}

.agreement-checkbox a:hover {
    text-decoration: underline;
}

/* 二维码支付模态框 */
.qrcode-modal {
    background: white;
    border-radius: 16px;
    padding: 32px;
    max-width: 380px;
    width: 90%;
    text-align: center;
}

.qrcode-container {
    background: white;
    padding: 20px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 16px;
}

.qrcode-image {
    width: 200px;
    height: 200px;
    display: block;
}

.qrcode-hint {
    font-size: 14px;
    color: #6B7280;
    margin: 0 0 8px 0;
}

.qrcode-status {
    font-size: 14px;
    color: #3B82F6;
    font-weight: 500;
}

/* 模态框内按钮 */
.btn-primary {
    padding: 12px 24px;
    background: #3B82F6;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary:hover {
    background: #2563EB;
}

.btn-primary:disabled {
    background: #9CA3AF;
    cursor: not-allowed;
}

.btn-secondary {
    padding: 12px 24px;
    background: white;
    color: #6B7280;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary:hover {
    background: #F9FAFB;
    color: #111827;
}
