/**
 * 宝策网主题 - 首页样式
 *
 * 7 个首页区块的样式定义。
 */

/* ========== Hero Section ========== */
.cbj-hero {
    position: relative;
    padding: 110px 0 35px;
    overflow: hidden;
}

.cbj-hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, #EBF4FF 0%, #EEF1FC 35%, #F2F1FA 65%, #F5F7FA 100%);
    z-index: -1;
}

/* Decorative circles - unified blue tones */
.cbj-hero-circle {
    position: absolute;
    border-radius: 50%;
    z-index: -1;
}

.cbj-hero-circle-1 {
    top: -80px;
    right: -60px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(37,99,235,0.06) 0%, transparent 70%);
}

.cbj-hero-circle-2 {
    bottom: -40px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(37,99,235,0.04) 0%, transparent 70%);
}

.cbj-hero-circle-3 {
    top: 40%;
    right: 25%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(99,102,241,0.04) 0%, transparent 70%);
}

/* Hero Badge */
.cbj-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(37,99,235,0.08);
    color: var(--cbj-primary);
    border-radius: var(--cbj-radius-round);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 22px;
}

.cbj-hero-badge .c_icon {
    width: 16px;
    height: 16px;
}

.cbj-hero-content {
    padding: 20px 0 45px;
}

.cbj-hero-title {
    font-size: 38px;
    font-weight: 700;
    color: var(--cbj-text-primary);
    line-height: 1.3;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
}

.cbj-hero-desc {
    font-size: 16px;
    color: var(--cbj-text-secondary);
    line-height: 1.85;
    margin-bottom: 5px;
    max-width: 480px;
}

.cbj-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.cbj-hero-actions .cbj-btn {
    min-width: 150px;
    height: 48px;
    line-height: 24px;
    font-size: 15px;
    font-weight: 600;
}

.cbj-hero-actions .cbj-btn-accent:hover {
    box-shadow: 0 6px 20px rgba(249,115,22,0.30);
    transform: translateY(-1px);
}

.cbj-hero-actions .cbj-btn-outline {
    color: var(--cbj-primary);
    border-color: var(--cbj-primary);
    background: var(--cbj-bg-white);
}

.cbj-hero-actions .cbj-btn-outline:hover {
    background: var(--cbj-primary);
    color: var(--cbj-text-white);
    border-color: var(--cbj-primary);
}

/* Hero Trust Line */
.cbj-hero-trust {
    display: flex;
    gap: 24px;
    margin-top: 24px;
    font-size: 13px;
    color: var(--cbj-text-tertiary);
}

.cbj-hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.cbj-hero-trust .c_icon {
    width: 14px;
    height: 14px;
    color: var(--cbj-primary);
}

/* Hero Right Side - Cards */
.cbj-hero-cards {
    padding: 15px 0 15px 30px;
}

.cbj-hero-card-main {
    background: var(--cbj-bg-white);
    border-radius: var(--cbj-radius-lg);
    padding: 30px 28px;
    box-shadow: 0 8px 30px rgba(37,99,235,0.10), 0 2px 8px rgba(0,0,0,0.04);
    margin-bottom: 16px;
    border: 1px solid rgba(37,99,235,0.08);
    position: relative;
    overflow: hidden;
}

.cbj-hero-card-main::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--cbj-primary), #6366F1);
}

.cbj-hero-card-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--cbj-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.cbj-hero-card-icon .c_icon {
    width: 26px;
    height: 26px;
    color: var(--cbj-primary);
}

.cbj-hero-card-main h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--cbj-text-primary);
}

.cbj-hero-card-main p {
    font-size: 14px;
    color: var(--cbj-text-tertiary);
    line-height: 1.6;
    letter-spacing: 0.05em;
}

/* Hero Stat Cards Row */
.cbj-hero-stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.cbj-hero-stat-card {
    background: var(--cbj-bg-white);
    border-radius: var(--cbj-radius-md);
    padding: 18px 16px;
    box-shadow: var(--cbj-shadow-md);
    border: 1px solid var(--cbj-border-light);
    text-align: center;
}

.cbj-hero-stat-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--cbj-primary);
    line-height: 1.2;
    margin-bottom: 6px;
}

.cbj-hero-stat-unit {
    font-size: 14px;
    font-weight: 500;
    color: var(--cbj-text-secondary);
    margin-left: 2px;
}

.cbj-hero-stat-label {
    font-size: 12px;
    color: var(--cbj-text-tertiary);
    line-height: 1.4;
}

/* Hero Visual (when image exists) */
.cbj-hero-visual {
    text-align: center;
    padding: 20px 0;
}

.cbj-hero-img {
    max-height: 340px;
    width: auto;
    max-width: 100%;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.08));
}

/* Hero Bottom Features */
.cbj-hero-bottom {
    position: relative;
    z-index: 2;
    padding-bottom: 10px;
}

.cbj-hero-features {
    background: var(--cbj-bg-white);
    border-radius: var(--cbj-radius-lg);
    box-shadow: var(--cbj-shadow-lg);
    padding: 22px 0;
}

.cbj-hero-feature {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px 12px;
}

.cbj-hero-feature p {
    margin: 0;
    font-size: 14px;
    color: var(--cbj-text-secondary);
    font-weight: 500;
}

.cbj-hero-feature .c_icon {
    color: var(--cbj-primary);
    flex-shrink: 0;
}

/* ========== About Section ========== */
.cbj-about-highlights {
    margin-bottom: 20px;
}

.cbj-highlight-card {
    text-align: center;
    padding: 35px 15px 30px;
    transition: var(--cbj-transition);
}

.cbj-highlight-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--cbj-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

.cbj-highlight-icon .c_icon {
    width: 28px;
    height: 28px;
    color: var(--cbj-primary);
}

.cbj-highlight-card h5 {
    font-size: 22px;
    font-weight: 700;
    color: var(--cbj-text-primary);
    margin-bottom: 12px;
}

.cbj-highlight-line {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--cbj-primary);
    border-radius: 2px;
    margin: 0 auto 12px;
}

.cbj-highlight-card p {
    font-size: 14px;
    color: var(--cbj-text-tertiary);
    letter-spacing: 0.02em;
}

.cbj-about-features .cbj-feature-item {
    padding: 30px 28px;
    background: var(--cbj-bg-white);
    border: 1px solid var(--cbj-border-light);
    border-radius: var(--cbj-radius-md);
    margin-bottom: 20px;
    transition: var(--cbj-transition);
}

.cbj-about-features .cbj-feature-item:hover {
    box-shadow: var(--cbj-shadow-hover);
    border-color: var(--cbj-primary-light);
    transform: translateY(-3px);
}

.cbj-feature-num {
    display: inline-block;
    font-size: 28px;
    font-weight: 700;
    color: var(--cbj-primary);
    margin-bottom: 10px;
    opacity: 0.6;
}

.cbj-feature-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    margin-bottom: 12px;
}

.cbj-feature-item h5 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
}

.cbj-feature-item p {
    font-size: 14px;
    color: var(--cbj-text-secondary);
    line-height: 1.7;
}

/* ========== Services Section ========== */
.cbj-services {
    background: var(--cbj-bg-light);
}

.cbj-services > .container {
    background: var(--cbj-bg-white);
    padding: 48px 50px;
    border-radius: var(--cbj-radius-lg);
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    border: 1px solid var(--cbj-border-light);
}

.cbj-service-item {
    display: flex;
    gap: 18px;
    padding: 20px 16px;
    border-bottom: none;
    margin-bottom: 0;
    transition: var(--cbj-transition);
    border-radius: var(--cbj-radius-md);
}

.cbj-service-item:hover {
    background: var(--cbj-bg-light);
}

.cbj-service-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--cbj-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cbj-service-icon .c_icon {
    width: 24px;
    height: 24px;
    color: var(--cbj-primary);
}

.cbj-service-content h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--cbj-text-primary);
    line-height: 1.5;
}

.cbj-service-content p {
    font-size: 13px;
    color: var(--cbj-text-tertiary);
    line-height: 1.7;
}

/* ========== Process Section ========== */
.cbj-process-steps {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0;
}

.cbj-step-item {
    flex: 0 0 auto;
    text-align: center;
    padding: 10px 8px;
    position: relative;
}

.cbj-step-img {
    width: 104px;
    height: 104px;
    display: block;
    margin: 0 auto 15px;
    transition: transform 0.3s ease;
}

.cbj-step-item:hover .cbj-step-img {
    transform: translateY(-4px);
}

.cbj-step-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 0;
    color: var(--cbj-text-primary);
    line-height: 1.5;
}

.cbj-step-arrow {
    display: flex;
    align-items: center;
    padding-top: 30px;
    margin: 0 5px;
}

.cbj-step-arrow-img {
    width: 74px;
    height: auto;
    opacity: 0.5;
}

/* ========== Effect Section ========== */
.cbj-effect {
    background: var(--cbj-bg-light);
}

.cbj-effect-grid {
    justify-content: center;
}

.cbj-effect-card {
    background: var(--cbj-bg-white);
    border-radius: var(--cbj-radius-lg);
    padding: 32px 28px;
    text-align: center;
    border: 1px solid var(--cbj-border-light);
    margin-bottom: 24px;
    transition: var(--cbj-transition);
}

.cbj-effect-card:hover {
    box-shadow: var(--cbj-shadow-hover);
    border-color: var(--cbj-primary-light);
    transform: translateY(-4px);
}

.cbj-effect-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--cbj-primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
}

.cbj-effect-card-icon .c_icon {
    width: 26px;
    height: 26px;
}

.cbj-effect-card h5 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--cbj-text-primary);
}

.cbj-effect-card p {
    font-size: 13px;
    color: var(--cbj-text-tertiary);
    line-height: 1.75;
}

/* ========== Calculator Section ========== */
.cbj-calculator-section {
    background: var(--cbj-bg-light);
}

.cbj-calculator-form {
    background: var(--cbj-bg-white);
    padding: 35px 30px;
    border-radius: var(--cbj-radius-lg);
    border: 1px solid var(--cbj-border-light);
}

.cbj-calculator-form h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
    color: var(--cbj-primary);
}

.cbj-calculator-form h5 .c_icon {
    margin-right: 8px;
}

/* ========== City Searchable Select ========== */
.cbj-city-select {
    position: relative;
    width: 100%;
}

.cbj-city-select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 15px;
    border: 1px solid var(--cbj-border);
    border-radius: var(--cbj-radius-sm);
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    color: var(--cbj-text-light);
    transition: border-color 0.2s, box-shadow 0.2s;
    line-height: 1.5;
}

.cbj-city-select-trigger:hover {
    border-color: var(--cbj-primary);
}

.cbj-city-select.is-open .cbj-city-select-trigger {
    border-color: var(--cbj-primary);
    box-shadow: 0 0 0 3px rgba(66,133,244,0.15);
}

.cbj-city-select-text.has-value {
    color: var(--cbj-text-primary);
}

.cbj-city-select-arrow {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #999;
    flex-shrink: 0;
    transition: transform 0.2s;
}

.cbj-city-select.is-open .cbj-city-select-arrow {
    transform: rotate(180deg);
}

.cbj-city-select-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid var(--cbj-border);
    border-radius: var(--cbj-radius-sm);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    z-index: 100;
    overflow: hidden;
}

.cbj-city-select.is-open .cbj-city-select-dropdown {
    display: block;
    animation: cbjDropIn 0.15s ease;
}

@keyframes cbjDropIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.cbj-city-select-search {
    padding: 8px 10px;
    border-bottom: 1px solid var(--cbj-border-light);
}

.cbj-city-search-input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid var(--cbj-border-light);
    border-radius: var(--cbj-radius-sm);
    font-size: 14px;
    outline: none;
    background: var(--cbj-bg-light);
    box-sizing: border-box;
}

.cbj-city-search-input:focus {
    border-color: var(--cbj-primary);
    background: #fff;
}

.cbj-city-select-list {
    max-height: 240px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.cbj-city-option {
    padding: 9px 14px;
    font-size: 14px;
    color: var(--cbj-text-primary);
    cursor: pointer;
    transition: background 0.15s;
    border-bottom: 1px solid rgba(0,0,0,0.03);
}

.cbj-city-option:last-child {
    border-bottom: none;
}

.cbj-city-option:hover {
    background: var(--cbj-primary-light);
    color: var(--cbj-primary);
}

.cbj-city-option.active {
    background: var(--cbj-primary-light);
    color: var(--cbj-primary);
    font-weight: 600;
    position: relative;
}

.cbj-city-option.active::after {
    content: '✓';
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    color: var(--cbj-primary);
}

/* Policy Tabs */
.cbj-calc-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
    border-radius: var(--cbj-radius-sm);
    overflow: hidden;
    border: 1px solid var(--cbj-border);
}

.cbj-calc-tab {
    flex: 1;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    background: var(--cbj-bg-light);
    color: var(--cbj-text-secondary);
    cursor: pointer;
    transition: var(--cbj-transition-fast);
}

.cbj-calc-tab:not(:last-child) {
    border-right: 1px solid var(--cbj-border);
}

.cbj-calc-tab.active {
    background: var(--cbj-primary);
    color: var(--cbj-text-white);
}

.cbj-calc-tab:hover:not(.active) {
    background: var(--cbj-primary-light);
    color: var(--cbj-primary);
}

/* Month Range Selector */
.cbj-calc-month-wrap {
    transition: all 0.2s ease;
}

.cbj-month-range {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cbj-month-range .cbj-form-control {
    flex: 1;
}

.cbj-month-sep {
    font-size: 14px;
    color: var(--cbj-text-tertiary);
    flex-shrink: 0;
}

/* Form Row (two-column layout) */
.cbj-form-row {
    display: flex;
    gap: 15px;
}

.cbj-form-half {
    flex: 1;
    min-width: 0;
}

/* Input with Unit */
.cbj-input-unit {
    position: relative;
}

.cbj-input-unit .cbj-form-control {
    padding-right: 40px;
}

.cbj-unit {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    color: var(--cbj-text-tertiary);
    pointer-events: none;
}

/* Calc Buttons */
.cbj-calc-buttons {
    display: flex;
    gap: 12px;
    margin-top: 5px;
}

.cbj-calc-buttons .cbj-btn {
    flex: 1;
}

/* Right Column Wrapper */
.cbj-calculator-right {
    position: sticky;
    top: 100px;
}

/* Result Area */
.cbj-calc-result {
    margin-bottom: 15px;
    border-radius: var(--cbj-radius-lg);
    overflow: hidden;
    border: 1px solid var(--cbj-border-light);
    background: var(--cbj-bg-white);
    box-shadow: 0 4px 16px rgba(37,99,235,0.08);
}

.cbj-calc-total {
    padding: 20px 22px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f0fe 100%);
    border-left: 4px solid var(--cbj-primary);
}

.cbj-calc-total h6 {
    font-size: 13px;
    color: var(--cbj-text-tertiary);
    margin-bottom: 8px;
    font-weight: 500;
}

.cbj-calc-amount {
    font-size: 15px;
    margin: 0;
    color: var(--cbj-text-primary);
}

.cbj-calc-amount strong {
    font-size: 26px;
    color: var(--cbj-accent);
    margin: 0 2px;
}

/* Optimization Scheme */
.cbj-calc-scheme {
    padding: 18px 22px;
}

.cbj-calc-scheme h6 {
    font-size: 14px;
    font-weight: 600;
    color: var(--cbj-primary);
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--cbj-border-light);
}

.cbj-calc-scheme-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 12px;
}

.cbj-calc-scheme-table td {
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid var(--cbj-border-light);
    color: var(--cbj-text-secondary);
    vertical-align: top;
}

.cbj-calc-scheme-table td:first-child {
    color: var(--cbj-text-primary);
    padding-right: 12px;
}

.cbj-calc-scheme-table td:last-child {
    text-align: right;
    font-weight: 600;
    color: var(--cbj-text-primary);
    white-space: nowrap;
}

.cbj-calc-scheme-table tr:last-child td {
    border-bottom: none;
    padding-bottom: 4px;
}

.cbj-calc-highlight {
    color: var(--cbj-accent) !important;
    font-size: 15px !important;
}

.cbj-calc-formula-display {
    padding: 10px 14px;
    background: var(--cbj-bg-light);
    border-radius: var(--cbj-radius-sm);
    text-align: center;
    font-size: 13px;
    color: var(--cbj-text-secondary);
    line-height: 1.6;
}

.cbj-calc-formula-display strong {
    color: var(--cbj-accent);
    font-size: 15px;
}

.cbj-calc-disclaimer {
    padding: 10px 22px;
    font-size: 12px;
    color: var(--cbj-text-light);
    background: var(--cbj-bg-light);
    margin: 0;
    border-top: 1px solid var(--cbj-border-light);
}

/* Formula Info */
.cbj-calculator-info {
    padding: 25px;
    background: var(--cbj-bg-white);
    border-radius: var(--cbj-radius-lg);
    border: 1px solid var(--cbj-border-light);
}

.cbj-calculator-info h6 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.cbj-formula-list p {
    font-size: 13px;
    color: var(--cbj-text-secondary);
    line-height: 1.8;
    margin-bottom: 10px;
}

.cbj-calculator-contact {
    margin-top: 18px;
    font-size: 15px;
    color: var(--cbj-text-primary);
}

.cbj-calculator-contact strong {
    color: var(--cbj-highlight);
    font-size: 18px;
}

/* ========== News Section ========== */
.cbj-news {
    background: var(--cbj-bg-white);
}

.cbj-news-cats {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.cbj-news-cat-btn {
    padding: 8px 22px;
    border: 1px solid var(--cbj-border);
    border-radius: var(--cbj-radius-round);
    font-size: 14px;
    font-weight: 500;
    color: var(--cbj-text-secondary);
    background: var(--cbj-bg-white);
    transition: var(--cbj-transition);
}

.cbj-news-cat-btn.active,
.cbj-news-cat-btn:hover {
    background: var(--cbj-primary);
    color: var(--cbj-text-white);
    border-color: var(--cbj-primary);
    box-shadow: 0 2px 8px rgba(37,99,235,0.20);
}

.cbj-news-item {
    margin-bottom: 15px;
    background: var(--cbj-bg-white);
    padding: 20px;
    border-radius: var(--cbj-radius-md);
    border: 1px solid var(--cbj-border-light);
    display: flex;
    gap: 18px;
    align-items: flex-start;
    transition: var(--cbj-transition);
}

.cbj-news-item:hover {
    border-color: var(--cbj-primary-light);
    box-shadow: var(--cbj-shadow-md);
}

.cbj-news-thumb {
    display: block;
    overflow: hidden;
    border-radius: var(--cbj-radius-sm);
    flex-shrink: 0;
    width: 150px;
    height: 110px;
}

.cbj-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cbj-news-thumb:hover img {
    transform: scale(1.05);
}

.cbj-news-info {
    flex: 1;
    min-width: 0;
}

.cbj-news-info h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.cbj-news-info h5 a {
    color: var(--cbj-text-primary);
}

.cbj-news-info h5 a:hover {
    color: var(--cbj-primary);
}

.cbj-news-excerpt {
    font-size: 14px;
    color: var(--cbj-text-secondary);
    line-height: 1.75;
    margin-bottom: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.cbj-news-meta {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--cbj-text-tertiary);
    margin-top: 10px;
}

.cbj-news-meta .c_icon {
    margin-right: 3px;
    width: 14px;
    height: 14px;
    vertical-align: middle;
}

.cbj-news-more {
    text-align: center;
    margin-top: 15px;
}

.cbj-home-ad {
    margin-top: 30px;
    text-align: center;
}

.cbj-home-ad img {
    max-width: 100%;
    border-radius: var(--cbj-radius-md);
}

/* ========== City Calculator Page ========== */
.cbj-city-calc {
    padding-top: 70px;
    padding-bottom: 50px;
}

.cbj-city-calc-title {
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    color: var(--cbj-text-primary);
    margin-bottom: 14px;
    letter-spacing: 0.03em;
}

.cbj-city-calc-subtitle {
    text-align: center;
    font-size: 15px;
    color: var(--cbj-text-tertiary);
    margin-bottom: 30px;
}

/* City Switch Tags */
.cbj-city-switch {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 36px;
    padding: 0 20px;
}

.cbj-city-tag {
    display: inline-block;
    padding: 5px 14px;
    font-size: 13px;
    color: var(--cbj-text-secondary);
    border: 1px solid var(--cbj-border);
    border-radius: var(--cbj-radius-round);
    transition: var(--cbj-transition-fast);
}

.cbj-city-tag:hover {
    border-color: var(--cbj-primary);
    color: var(--cbj-primary);
    background: var(--cbj-primary-light);
}

.cbj-city-tag.active {
    background: var(--cbj-primary);
    color: var(--cbj-text-white);
    border-color: var(--cbj-primary);
}

/* City Calculator Form */
.cbj-city-calc-form {
    box-shadow: var(--cbj-shadow-md);
}

.cbj-city-params {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 18px;
    padding: 12px 16px;
    background: var(--cbj-bg-light);
    border-radius: var(--cbj-radius-sm);
    font-size: 13px;
    color: var(--cbj-text-secondary);
}

.cbj-calc-tip {
    font-size: 12px;
    color: var(--cbj-text-light);
    margin-top: 8px;
}

/* City Calculator Info */
.cbj-city-calc-info {
    background: var(--cbj-bg-light);
    border-radius: var(--cbj-radius-lg);
    padding: 35px 30px;
}

.cbj-city-formula-detail {
    background: var(--cbj-bg-white);
    padding: 14px 18px;
    border-radius: var(--cbj-radius-sm);
    border-left: 3px solid var(--cbj-primary);
    margin: 15px 0;
}

.cbj-city-formula-detail p {
    margin: 0;
}

.cbj-city-cta {
    margin-top: 25px;
    text-align: center;
}

/* ========== Formula Card ========== */
.cbj-formula-card {
    background: var(--cbj-bg-white);
    border-radius: var(--cbj-radius-lg);
    border: 1px solid var(--cbj-border-light);
    overflow: hidden;
}

.cbj-formula-card.cbj-city-calc-info {
    background: var(--cbj-bg-light);
    border: none;
}

.cbj-formula-header {
    padding: 18px 24px;
    border-bottom: 1px solid var(--cbj-border-light);
}

.cbj-formula-header h6 {
    font-size: 16px;
    font-weight: 600;
    color: var(--cbj-text-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cbj-formula-header .c_icon {
    color: var(--cbj-primary);
    width: 18px;
    height: 18px;
}

.cbj-formula-body {
    padding: 20px 24px;
}

.cbj-formula-main {
    background: rgba(37, 99, 235, 0.04);
    border-left: 3px solid var(--cbj-primary);
    padding: 14px 18px;
    border-radius: 0 var(--cbj-radius-sm) var(--cbj-radius-sm) 0;
    font-size: 14px;
    line-height: 1.8;
    color: var(--cbj-text-primary);
    margin-bottom: 16px;
}

.cbj-formula-ratio {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    background: var(--cbj-bg-light);
    border-radius: var(--cbj-radius-sm);
    margin-bottom: 16px;
}

.cbj-formula-card.cbj-city-calc-info .cbj-formula-ratio {
    background: var(--cbj-bg-white);
}

.cbj-formula-ratio-label {
    font-size: 14px;
    color: var(--cbj-text-secondary);
}

.cbj-formula-ratio-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--cbj-primary);
}

.cbj-formula-rules {
    margin-bottom: 16px;
}

.cbj-formula-rules-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--cbj-text-secondary);
    margin-bottom: 8px;
}

.cbj-formula-rules ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
}

.cbj-formula-rules li {
    font-size: 14px;
    color: var(--cbj-text-secondary);
    padding-left: 16px;
    position: relative;
}

.cbj-formula-rules li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--cbj-primary);
}

.cbj-formula-rules li strong {
    color: var(--cbj-primary);
}

.cbj-formula-policy {
    background: rgba(245, 158, 11, 0.06);
    border-left: 3px solid #f59e0b;
    padding: 12px 16px;
    border-radius: 0 var(--cbj-radius-sm) var(--cbj-radius-sm) 0;
    font-size: 13px;
    line-height: 1.75;
    color: var(--cbj-text-secondary);
}

.cbj-formula-policy strong {
    color: #d97706;
}

.cbj-formula-note {
    margin-top: 14px;
    padding: 12px 16px;
    background: rgba(37, 99, 235, 0.04);
    border-left: 3px solid var(--cbj-primary);
    border-radius: 0 var(--cbj-radius-sm) var(--cbj-radius-sm) 0;
    font-size: 13px;
    color: var(--cbj-text-secondary);
    line-height: 1.75;
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.cbj-formula-note-icon {
    color: var(--cbj-primary);
    font-size: 15px;
    line-height: 1.4;
    flex-shrink: 0;
}

.cbj-formula-card.cbj-city-calc-info .cbj-formula-note {
    background: rgba(37, 99, 235, 0.05);
}

.cbj-formula-card .cbj-calculator-contact {
    padding: 14px 24px;
    margin: 0;
    border-top: 1px solid var(--cbj-border-light);
    font-size: 13px;
    color: var(--cbj-text-secondary);
}

.cbj-formula-card .cbj-city-cta {
    padding: 0 24px 20px;
    margin-top: 0;
}

/* City Policy Section */
.cbj-city-policy .cbj-post-item {
    display: flex;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid var(--cbj-border-light);
    align-items: flex-start;
}

.cbj-city-policy .cbj-post-item:last-child {
    border-bottom: none;
}

.cbj-city-policy .cbj-post-thumb {
    flex-shrink: 0;
    width: 160px;
    height: 110px;
    overflow: hidden;
    border-radius: var(--cbj-radius-sm);
}

.cbj-city-policy .cbj-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cbj-city-policy .cbj-post-thumb:hover img {
    transform: scale(1.05);
}

.cbj-city-policy .cbj-post-info {
    flex: 1;
    min-width: 0;
}

.cbj-city-policy .cbj-post-info h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.5;
}

.cbj-city-policy .cbj-post-info h5 a {
    color: var(--cbj-text-primary);
}

.cbj-city-policy .cbj-post-info h5 a:hover {
    color: var(--cbj-primary);
}

.cbj-city-policy .cbj-post-excerpt {
    font-size: 14px;
    color: var(--cbj-text-secondary);
    line-height: 1.7;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.cbj-city-policy .cbj-post-meta {
    font-size: 12px;
    color: var(--cbj-text-light);
    display: flex;
    gap: 15px;
}

.cbj-city-policy .cbj-post-meta .c_icon {
    margin-right: 3px;
    vertical-align: middle;
}

.cbj-city-more {
    text-align: center;
    margin-top: 25px;
}

/* City Calculator Sidebar List */
.cbj-city-calc-list li {
    display: inline-block;
    margin-right: 6px;
    margin-bottom: 6px;
}

.cbj-city-calc-list li a {
    display: inline-block;
    padding: 4px 10px;
    font-size: 13px;
    border: 1px solid var(--cbj-border-light);
    border-radius: var(--cbj-radius-sm);
    color: var(--cbj-text-secondary);
}

.cbj-city-calc-list li a:hover {
    color: var(--cbj-primary);
    border-color: var(--cbj-primary);
}

/* ========== Responsive ========== */
@media (max-width: 992px) {
    .cbj-hero {
        padding: 100px 0 30px;
    }

    .cbj-hero-content {
        text-align: center;
        padding: 20px 0 40px;
    }

    .cbj-hero-title {
        font-size: 32px;
    }

    .cbj-hero-desc {
        max-width: 100%;
    }

    .cbj-hero-actions {
        justify-content: center;
    }

    .cbj-step-item {
        flex: 0 0 33.33%;
        max-width: 33.33%;
        padding: 10px 6px;
    }

    .cbj-step-img {
        width: 84px;
        height: 84px;
        margin-bottom: 10px;
    }

    .cbj-step-title {
        font-size: 14px;
    }

    .cbj-step-arrow {
        display: none;
    }

    .cbj-news-item {
        flex-direction: row;
        padding: 14px;
        gap: 12px;
        margin-bottom: 10px;
    }

    .cbj-news-thumb {
        width: 110px;
        height: 80px;
    }

    .cbj-news-info h5 {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .cbj-news-excerpt {
        font-size: 12px;
        -webkit-line-clamp: 1;
    }

    .cbj-news-meta {
        margin-top: 6px;
    }

    .cbj-news-extra {
        display: none;
    }

    .cbj-effect-card {
        padding: 18px 14px;
        margin-bottom: 12px;
    }

    .cbj-effect-card-icon {
        width: 40px;
        height: 40px;
        border-radius: 10px;
        margin-bottom: 10px;
    }

    .cbj-effect-card-icon .c_icon {
        width: 22px;
        height: 22px;
    }

    .cbj-effect-card h5 {
        font-size: 14px;
        margin-bottom: 6px;
    }

    .cbj-effect-card p {
        font-size: 12px;
        line-height: 1.6;
    }

    .cbj-city-policy .cbj-post-item {
        flex-direction: row;
        gap: 12px;
    }

    .cbj-city-policy .cbj-post-thumb {
        width: 110px;
        height: 80px;
    }

    .cbj-calculator-right {
        position: static;
    }
}

@media (max-width: 768px) {
    .cbj-hero {
        padding: 80px 0 20px;
    }

    .cbj-hero-title {
        font-size: 26px;
    }

    .cbj-hero-desc {
        font-size: 14px;
    }

    .cbj-hero-actions .cbj-btn {
        min-width: 120px;
        height: 42px;
        font-size: 14px;
    }

    .cbj-hero-features {
        padding: 15px 0;
    }

    .cbj-hero-feature p {
        font-size: 12px;
    }

    .cbj-stat-number {
        font-size: 28px;
    }

    .cbj-process-steps {
        gap: 0;
    }

    .cbj-step-item {
        flex: 0 0 33.33%;
        max-width: 33.33%;
        padding: 8px 4px;
    }

    .cbj-step-img {
        width: 70px;
        height: 70px;
        margin-bottom: 8px;
    }

    .cbj-step-title {
        font-size: 13px;
    }

    .cbj-step-num {
        width: 70px;
        height: 70px;
        font-size: 18px;
    }

    .cbj-service-item {
        padding: 12px 10px;
        gap: 10px;
    }

    .cbj-service-icon {
        width: 36px;
        height: 36px;
        border-radius: 8px;
    }

    .cbj-service-icon .c_icon {
        width: 20px;
        height: 20px;
    }

    .cbj-service-content h5 {
        font-size: 14px;
        margin-bottom: 3px;
    }

    .cbj-service-content p {
        font-size: 12px;
        line-height: 1.5;
    }

    .cbj-services > .container {
        padding: 10px 15px;
    }

    .cbj-effect-panel {
        padding: 20px;
    }

    .cbj-calculator-form,
    .cbj-calculator-info,
    .cbj-city-calc-info {
        padding: 20px;
    }

    .cbj-form-row {
        flex-direction: column;
        gap: 0;
    }

    .cbj-calc-scheme-table td:first-child {
        white-space: normal;
    }

    .cbj-city-calc-title {
        font-size: 24px;
    }

    .cbj-city-switch {
        gap: 6px;
        padding: 0;
    }

    .cbj-city-tag {
        padding: 8px 14px;
        font-size: 13px;
        min-height: 36px;
        display: inline-flex;
        align-items: center;
    }

    .cbj-news-cats {
        gap: 8px;
    }

    .cbj-news-cat-btn {
        padding: 6px 16px;
        font-size: 13px;
    }

    .cbj-city-policy .cbj-post-item {
        gap: 10px;
        padding: 12px 0;
    }

    .cbj-city-policy .cbj-post-thumb {
        width: 100px;
        height: 72px;
    }

    .cbj-city-policy .cbj-post-info h5 {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .cbj-city-policy .cbj-post-excerpt {
        font-size: 12px;
        -webkit-line-clamp: 1;
    }
}

@media (max-width: 576px) {
    .cbj-hero {
        padding: 70px 0 15px;
    }

    .cbj-hero-title {
        font-size: 24px;
    }

    .cbj-step-item {
        flex: 0 0 33.33%;
        max-width: 33.33%;
        padding: 6px 3px;
    }

    .cbj-step-img {
        width: 58px;
        height: 58px;
        margin-bottom: 6px;
    }

    .cbj-step-title {
        font-size: 12px;
    }

    .cbj-service-item {
        padding: 10px 8px;
        gap: 8px;
    }

    .cbj-service-content p {
        display: none;
    }

    .cbj-service-content h5 {
        font-size: 13px;
        margin-bottom: 0;
    }

    .cbj-news-cats {
        justify-content: center;
    }

    .cbj-news-item {
        padding: 10px;
        gap: 10px;
        margin-bottom: 8px;
    }

    .cbj-news-thumb {
        width: 90px;
        height: 66px;
    }

    .cbj-news-info h5 {
        font-size: 13px;
    }

    .cbj-news-excerpt {
        display: none;
    }

    .cbj-news-meta {
        font-size: 11px;
        margin-top: 4px;
    }

    .cbj-news-more {
        margin-top: 10px;
    }

    .cbj-effect-card {
        padding: 14px 10px;
        margin-bottom: 8px;
    }

    .cbj-effect-card-icon {
        width: 34px;
        height: 34px;
        border-radius: 8px;
        margin-bottom: 8px;
    }

    .cbj-effect-card-icon .c_icon {
        width: 18px;
        height: 18px;
    }

    .cbj-effect-card h5 {
        font-size: 13px;
        margin-bottom: 0;
    }

    .cbj-effect-card p {
        display: none;
    }

    .cbj-city-policy .cbj-post-item {
        gap: 10px;
        padding: 12px 0;
    }

    .cbj-city-policy .cbj-post-thumb {
        width: 90px;
        height: 66px;
    }

    .cbj-city-policy .cbj-post-info h5 {
        font-size: 13px;
        margin-bottom: 4px;
    }

    .cbj-city-policy .cbj-post-excerpt {
        display: none;
    }

    .cbj-formula-rules ul {
        flex-direction: column;
        gap: 8px;
    }

    .cbj-month-range {
        flex-direction: column;
        gap: 8px;
    }

    .cbj-month-sep {
        display: none;
    }

    .cbj-hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .cbj-hero-actions .cbj-btn {
        width: 100%;
        min-width: unset;
    }
}

/* ========== Service Page (page-cbj) ========== */

/* Page Hero */
.cbj-page-hero {
    background: linear-gradient(135deg, var(--cbj-bg-dark) 0%, #1a1055 50%, #0f2b5e 100%);
    padding: 60px 0;
    margin-top: 72px;
    position: relative;
    overflow: hidden;
}

.cbj-page-hero::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(37,99,235,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.cbj-page-hero-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--cbj-text-white);
    margin-bottom: 16px;
    letter-spacing: 0.03em;
}

.cbj-page-hero-desc {
    font-size: 16px;
    color: rgba(255,255,255,0.75);
    line-height: 1.8;
    margin-bottom: 30px;
    max-width: 520px;
}

.cbj-page-hero-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.cbj-page-hero-actions .cbj-btn-outline {
    border-color: rgba(255,255,255,0.4);
    color: var(--cbj-text-white);
}

.cbj-page-hero-actions .cbj-btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--cbj-text-white);
}

.cbj-page-hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.cbj-hero-stat {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--cbj-radius-md);
    padding: 20px;
    text-align: center;
}

.cbj-hero-stat strong {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--cbj-text-white);
    line-height: 1.2;
}

.cbj-hero-stat strong span {
    font-size: 16px;
    font-weight: 400;
    color: var(--cbj-accent);
}

.cbj-hero-stat p {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin-top: 4px;
}

/* Definition Cards */
.cbj-define {
    background: var(--cbj-bg-white);
}

.cbj-define-card {
    background: var(--cbj-bg-light);
    border-radius: var(--cbj-radius-lg);
    padding: 35px 30px;
    height: 100%;
    border: 1px solid var(--cbj-border-light);
    transition: var(--cbj-transition);
}

.cbj-define-card:hover {
    border-color: var(--cbj-primary-light);
    box-shadow: var(--cbj-shadow-hover);
}

.cbj-define-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--cbj-primary), #6366F1);
    border-radius: var(--cbj-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.cbj-define-icon .c_icon {
    color: var(--cbj-text-white);
    font-size: 24px;
}

.cbj-define-card h5 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--cbj-text-primary);
}

.cbj-define-card p {
    font-size: 15px;
    color: var(--cbj-text-secondary);
    line-height: 1.85;
    margin-bottom: 20px;
}

.cbj-define-source {
    font-size: 13px;
    color: var(--cbj-text-tertiary);
    padding: 12px 15px;
    background: var(--cbj-bg-white);
    border-radius: var(--cbj-radius-sm);
    border-left: 3px solid var(--cbj-primary);
    line-height: 1.6;
}

.cbj-define-source .c_icon {
    margin-right: 5px;
    color: var(--cbj-primary);
}

/* Service Detail Table */
.cbj-service-detail {
    background: var(--cbj-bg-light);
}

.cbj-detail-table {
    overflow-x: auto;
}

.cbj-detail-table table {
    width: 100%;
    border-collapse: collapse;
    background: var(--cbj-bg-white);
    border-radius: var(--cbj-radius-lg);
    overflow: hidden;
    box-shadow: var(--cbj-shadow-sm);
}

.cbj-detail-table thead th {
    background: linear-gradient(135deg, var(--cbj-primary), #4F46E5);
    color: var(--cbj-text-white);
    font-weight: 600;
    font-size: 15px;
    padding: 16px 20px;
    text-align: left;
}

.cbj-detail-table tbody td {
    padding: 18px 20px;
    font-size: 14px;
    color: var(--cbj-text-secondary);
    line-height: 1.75;
    border-bottom: 1px solid var(--cbj-border-light);
    vertical-align: middle;
}

.cbj-detail-table tbody tr:last-child td {
    border-bottom: none;
}

.cbj-detail-table tbody tr:hover {
    background: var(--cbj-bg-light);
}

.cbj-td-type {
    font-weight: 600;
    color: var(--cbj-text-primary) !important;
    white-space: nowrap;
}

.cbj-td-type .c_icon {
    color: var(--cbj-primary);
    margin-right: 6px;
    vertical-align: middle;
}

/* CTA Section */
.cbj-cta {
    padding: 60px 0;
}

.cbj-cta-box {
    background: linear-gradient(135deg, var(--cbj-primary), #4F46E5);
    border-radius: var(--cbj-radius-lg);
    padding: 50px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cbj-cta-box::before {
    content: "";
    position: absolute;
    top: -40%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.cbj-cta-box h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--cbj-text-white);
    margin-bottom: 12px;
}

.cbj-cta-box p {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 30px;
}

.cbj-cta-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.cbj-cta-actions .cbj-btn-accent {
    padding: 14px 40px;
    font-size: 16px;
}

.cbj-cta-actions .cbj-btn-outline .c_icon {
    margin-right: 6px;
}

/* Service Page Responsive */
@media (max-width: 768px) {
    .cbj-page-hero {
        padding: 40px 0;
        margin-top: 60px;
    }

    .cbj-page-hero-title {
        font-size: 26px;
    }

    .cbj-page-hero-desc {
        font-size: 14px;
    }

    .cbj-define-card {
        padding: 25px 20px;
        margin-bottom: 15px;
    }

    .cbj-define-card h5 {
        font-size: 17px;
    }

    .cbj-detail-table thead th {
        padding: 12px 15px;
        font-size: 14px;
    }

    .cbj-detail-table tbody td {
        padding: 14px 15px;
        font-size: 13px;
    }

    .cbj-td-type {
        min-width: 90px;
    }

    .cbj-cta {
        padding: 40px 0;
    }

    .cbj-cta-box {
        padding: 30px 20px;
        border-radius: 12px;
    }

    .cbj-cta-box h3 {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .cbj-cta-box p {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .cbj-cta-actions {
        gap: 10px;
    }

    .cbj-cta-actions .cbj-btn-accent {
        padding: 12px 32px;
        font-size: 15px;
    }

    .cbj-cta-phone-btn {
        padding: 10px 24px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .cbj-page-hero-actions {
        flex-direction: column;
    }

    .cbj-page-hero-actions .cbj-btn {
        text-align: center;
    }

    .cbj-cta {
        padding: 28px 0;
    }

    .cbj-cta-box {
        padding: 24px 16px;
        border-radius: 10px;
    }

    .cbj-cta-box h3 {
        font-size: 17px;
        margin-bottom: 6px;
    }

    .cbj-cta-box p {
        font-size: 13px;
        margin-bottom: 16px;
        line-height: 1.5;
    }

    .cbj-cta-actions {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .cbj-cta-actions .cbj-btn-accent {
        padding: 10px 22px;
        font-size: 14px;
        flex: 1;
        text-align: center;
    }

    .cbj-cta-phone-btn {
        padding: 10px 18px;
        font-size: 13px;
        flex: 1;
        text-align: center;
        justify-content: center;
    }
}
