/* Premium Address page styles */
.page-container { padding: 30px 0 }

/* Hero Section */
.pa-hero { display: flex; gap: 32px; align-items: center; margin-bottom: 40px; background: linear-gradient(135deg, rgba(31, 111, 184, 0.08) 0%, rgba(62, 200, 240, 0.08) 100%); padding: 40px; border-radius: 12px; border: 1px solid rgba(31, 111, 184, 0.1); }
.hero-content { flex: 1; }
.pa-hero h1 { font-size: 28px; color: #163E6A; margin-bottom: 16px; font-weight: 700; }
.hero-desc { color: #3d4850; font-size: 16px; line-height: 1.8; margin-bottom: 24px; text-indent: 0; }
.hero-search-box { display: flex; gap: 8px; margin-top: 20px; }
.search-input { flex: 1; padding: 12px 16px; border: 1px solid rgba(31, 111, 184, 0.2); border-radius: 6px; font-size: 14px; transition: all 0.3s ease; }
.search-input:focus { outline: none; border-color: #1f6fb8; box-shadow: 0 0 0 3px rgba(31, 111, 184, 0.1); }
.search-btn { padding: 0 32px !important; white-space: nowrap; display: flex !important; gap: 6px; height: 45px !important; line-height: 42px !important; font-size: 14px !important; }
.search-btn i { font-size: 22px; }
.hero-illus { flex: 1; text-align: center; }
.hero-illus img { width: 100%; max-width: 450px; height: auto; border-radius: 12px; }

/* Address List */
.pa-addresses { margin-bottom: 50px; }
.addresses-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.addresses-header h2 { color: #163E6A; font-size: 24px; margin: 0; }
.stats { display: flex; gap: 30px; }
.stat-item { display: flex; gap: 8px; align-items: center; }
.stat-label { color: #546a75; font-size: 14px; }
.stat-value { color: #1f6fb8; font-size: 18px; font-weight: 700; }
.address-tips { margin-bottom: 18px; color: #546a75; font-size: 14px; }
.addresses-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; margin-bottom: 30px; position: relative; min-height: 280px; }
.addresses-grid.is-loading::after { content: '正在加载靓号地址...'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(248, 251, 255, 0.88); color: #546a75; font-size: 14px; border-radius: 10px; z-index: 2; }
.grid-message { grid-column: 1 / -1; padding: 30px 20px; border: 1px dashed rgba(31, 111, 184, 0.2); border-radius: 10px; background: #f8fbff; color: #546a75; text-align: center; }
.address-card { padding: 20px; background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%); border: 1px solid rgba(31, 111, 184, 0.08); border-radius: 10px; transition: all 0.3s ease; box-shadow: rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0) 0px 0px 0px 0px, rgba(0, 0, 0, 0.1) 0px 4px 6px -1px, rgba(0, 0, 0, 0.1) 0px 2px 4px -2px; }
.address-card:hover { border-color: rgba(31, 111, 184, 0.3); box-shadow: 0 12px 24px rgba(31, 111, 184, 0.15); transform: translateY(-4px); }
.address-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.address-badge { padding: 4px 12px; border-radius: 4px; font-size: 12px; font-weight: 600; }
.badge-repeating { background: #ffebee; color: #c62828; }
.badge-sequence { background: #e3f2fd; color: #1565c0; }
.badge-lucky { background: #fff3e0; color: #e65100; }
.badge-special { background: #f3e5f5; color: #6a1b9a; }
.address-status { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 4px; }
.address-status.available { background: #e8f5e9; color: #2e7d32; }
.address-status.unavailable { background: #f5f5f5; color: #757575; }
.address-display { padding: 12px; background: #f1f7ff; border-radius: 6px; font-family: Arial, Helvetica, sans-serif; font-size: 13px; color: #163E6A; word-break: break-all; margin-bottom: 14px; line-height: 1.6; }
.address-display .highlight { color: #1f6fb8; font-weight: 700; font-size: 14px; }
.address-info { margin-bottom: 16px; }
.info-item { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 13px; color: #44545a; }
.info-item .label { color: #546a75; font-weight: 600; }
.info-item .value { color: #163E6A; font-weight: 600; }
.level-tag { padding: 2px 8px; border-radius: 3px; font-size: 12px; font-weight: 600; }
.level-5 { background: #ffebee; color: #c62828; }
.level-4 { background: #fff3e0; color: #e65100; }
.level-3 { background: #e0f2f1; color: #00695c; }
.price { color: #1f6fb8; font-weight: 700; font-size: 14px; }
.assigned { color: #757575; font-size: 12px; }
.address-btn { width: 100%; height: auto; }
.pagination { text-align: center; padding: 30px 0; display: flex; justify-content: center; gap: 16px; align-items: center; }
.page-numbers { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: center; }
.page-number-btn { min-width: 36px; padding: 0 9px !important; }
.page-number-btn.is-active,
.page-number-btn.is-active:hover { background: #16baaa; color: #fff !important; border-color: #16baaa; }
.page-ellipsis { color: #8aa0af; font-size: 14px; padding: 0 2px; }
.pagination .layui-btn[disabled] { cursor: not-allowed; }
.page-info { color: #546a75; font-size: 14px; min-width: 150px; }

/* Categories Section */
.pa-categories { margin-bottom: 50px; }
.pa-categories h2 { text-align: center; color: #163E6A; font-size: 24px; margin-bottom: 32px; }
.categories-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.category-card { padding: 24px; background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%); border: 1px solid rgba(31, 111, 184, 0.08); border-radius: 10px; text-align: center; transition: all 0.3s ease; }
.category-card:hover { border-color: rgba(31, 111, 184, 0.3); box-shadow: 0 8px 16px rgba(31, 111, 184, 0.1); }
.category-icon { margin-bottom: 14px; }
.category-icon i { font-size: 40px; color: #1f6fb8; }
.category-card h3 { color: #163E6A; font-size: 18px; margin: 12px 0; }
.category-card p { color: #546a75; font-size: 14px; line-height: 1.6; margin-bottom: 14px; }
.category-meta { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: #3d4850; }

/* Pricing Table */
.pa-pricing { margin-bottom: 50px; background: #ffffff; padding: 30px; border-radius: 10px; border: 1px solid rgba(0, 0, 0, 0.03); }
.pa-pricing h2 { color: #163E6A; font-size: 24px; margin-bottom: 28px; }
.pricing-table { display: grid; border: 1px solid rgba(31, 111, 184, 0.1); border-radius: 8px; overflow: hidden; }
.pricing-row { display: grid; grid-template-columns: repeat(5, 1fr); border-bottom: 1px solid rgba(31, 111, 184, 0.1); }
.pricing-row:last-child { border-bottom: none; }
.pricing-row.header { background: #f1f7ff; font-weight: 700; color: #0b3a66; }
.pricing-cell { padding: 16px; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 13px; color: #44545a; min-height: 50px; }
.pricing-row.header .pricing-cell { color: #0b3a66; font-weight: 700; }

/* How It Works */
.pa-howto { margin-bottom: 50px; background: #ffffff; padding: 30px; border-radius: 10px; border: 1px solid rgba(0, 0, 0, 0.03); }
.pa-howto h2 { color: #163E6A; font-size: 24px; margin-bottom: 30px; text-align: center; }
.howto-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; }
.step-item { text-align: center; }
.step-number { display: inline-flex; align-items: center; justify-content: center; width: 60px; height: 60px; background: linear-gradient(135deg, #1f6fb8 0%, #3ec8f0 100%); color: white; font-size: 24px; font-weight: 700; border-radius: 50%; margin-bottom: 16px; }
.step-content h4 { color: #163E6A; font-size: 16px; margin-bottom: 8px; }
.step-content p { color: #546a75; font-size: 13px; line-height: 1.6; }

/* Features Section */
.pa-features { margin-bottom: 50px; }
.pa-features h2 { text-align: center; color: #163E6A; font-size: 24px; margin-bottom: 32px; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.feature-item { padding: 24px; background: linear-gradient(180deg, #fbfeff 0%, #f1f7ff 100%); border: 1px solid rgba(31, 111, 184, 0.1); border-radius: 10px; text-align: center; transition: all 0.3s ease; }
.feature-item:hover { border-color: rgba(31, 111, 184, 0.3); box-shadow: 0 8px 16px rgba(31, 111, 184, 0.1); }
.feature-item i { font-size: 40px; color: #1f6fb8; margin-bottom: 12px; }
.feature-item h3 { color: #163E6A; font-size: 16px; margin-bottom: 8px; }
.feature-item p { color: #546a75; font-size: 13px; line-height: 1.6; }

/* CTA Section */
.pa-cta { text-align: center; padding: 50px 30px; background: linear-gradient(135deg, rgba(31, 111, 184, 0.1) 0%, rgba(62, 200, 240, 0.1) 100%); border-radius: 12px; border: 1px solid rgba(31, 111, 184, 0.15); margin-bottom: 50px; }
.pa-cta h2 { color: #163E6A; font-size: 28px; margin-bottom: 12px; }
.pa-cta p { color: #3d4850; font-size: 16px; margin-bottom: 30px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta-primary,
.cta-secondary { display: flex; align-items: center; gap: 8px; padding: 14px 32px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 16px; transition: all 0.3s ease; }
.cta-primary { background: linear-gradient(135deg, #1f6fb8 0%, #3ec8f0 100%); color: white; box-shadow: 0 4px 12px rgba(31, 111, 184, 0.3); display:flex!important; }
.cta-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(31, 111, 184, 0.4); }
.cta-secondary { background: white; color: #1f6fb8; border: 2px solid #1f6fb8; }
.cta-secondary:hover { transform: translateY(-2px); }

/* FAQ Section */
.pa-faq { margin-bottom: 20px; }
.pa-faq h2 { text-align: center; color: #163E6A; font-size: 24px; margin-bottom: 32px; }
.faq-list { display: grid; gap: 12px; }
.faq-item { background: #ffffff; border: 1px solid rgba(31, 111, 184, 0.08); border-radius: 6px; overflow: hidden; transition: all 0.3s ease; }
.faq-item:hover { border-color: rgba(31, 111, 184, 0.2); }
.faq-item dt { display: flex; align-items: center; gap: 12px; padding: 16px; background: #f1f7ff; color: #163E6A; font-weight: 600; cursor: pointer; user-select: none; }
.faq-item dt i { font-size: 18px; color: #1f6fb8; flex-shrink: 0; }
.faq-item dd { padding: 16px; color: #44545a; line-height: 1.8; margin: 0; background: #fafbfc; display: none; }
.faq-item.active dd { display: block; }

/* Responsive Design */
@media only screen and (max-width: 1200px) {
    .addresses-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
    .howto-steps { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
}

@media only screen and (max-width: 768px) {
    .page-container { padding: 15px 0; }
    .pa-hero { display: block; padding: 20px; margin-bottom: 30px; }
    .hero-illus { margin-top: 20px; }
    .pa-hero h1 { font-size: 22px; }
    .hero-desc { font-size: 14px; }
    .hero-search-box { flex-direction: column; }
    .search-input { width: 100%; }
    .addresses-header { flex-direction: column; align-items: flex-start; }
    .stats { flex-direction: column; gap: 12px; margin-top: 12px; }
    .addresses-grid { grid-template-columns: 1fr; gap: 14px; }
    .filter-tabs { gap: 8px; }
    .filter-tab { padding: 6px 12px; font-size: 13px; }
    .filter-options { flex-direction: column; gap: 12px; }
    .categories-grid { grid-template-columns: 1fr; gap: 14px; }
    .category-card { padding: 16px; }
    .pricing-row { grid-template-columns: 1fr; }
    .pricing-cell { min-height: 40px; font-size: 12px; padding: 12px; }
    .pricing-row.header { display: none; }
    .pricing-row:not(.header) .pricing-cell { border-bottom: 1px solid rgba(31, 111, 184, 0.1); }
    .pricing-row:not(.header) .pricing-cell::before { content: attr(data-label); display: block; font-weight: 700; color: #163E6A; }
    .howto-steps { grid-template-columns: 1fr; gap: 16px; }
    .features-grid { grid-template-columns: 1fr; gap: 14px; }
    .feature-item { padding: 16px; }
    .pa-cta { padding: 30px 20px; margin-bottom: 30px; }
    .pa-cta h2 { font-size: 22px; }
    .cta-buttons { gap: 10px; }
    .cta-primary,
    .cta-secondary { padding: 12px 24px; font-size: 14px; }
    .pa-links { grid-template-columns: 1fr; gap: 20px; }
    .faq-item dt { padding: 12px; font-size: 14px; }
    .faq-item dd { padding: 12px; }
    .pa-addresses,
    .pa-howto,
    .pa-pricing { padding: 20px; margin-bottom: 30px; }
    .pa-categories h2,
    .pa-features h2,
    .pa-faq h2,
    .pa-links h2,
    .pa-pricing h2,
    .pa-howto h2 { font-size: 20px; margin-bottom: 20px; }
    .address-display { font-size: 12px; }
    .pagination { flex-direction: column; gap: 10px; }
    .page-numbers { gap: 6px; }
    .page-info { min-width: auto; }
    main { padding: 9px; }
}
