/* Premium platform features */

.hk-features-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.hk-feature-card {
    display: flex;
    flex-direction: column;
    padding: 24px 20px;
    border-radius: 16px;
    border: 1px solid #E8EDF2;
    background: var(--white);
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    min-height: 100%;
}
.hk-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(40, 73, 103, 0.1);
    border-color: rgba(47, 128, 148, 0.3);
    text-decoration: none;
    color: inherit;
}
.hk-feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(47, 128, 148, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 14px;
}
.hk-feature-card h2 {
    font-size: 17px;
    margin: 0 0 10px;
    color: var(--secondary);
}
.hk-feature-card p {
    font-size: 13px;
    line-height: 1.6;
    color: #64748B;
    flex: 1;
    margin: 0 0 14px;
}
.hk-feature-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
}

.hk-feature-panel {
    background: var(--white);
    border: 1px solid #E8EDF2;
    border-radius: 16px;
    padding: 22px 20px;
    margin-bottom: 20px;
}
.hk-feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.hk-feature-list li {
    padding: 8px 0;
    font-size: 14px;
    color: #475569;
}
.hk-feature-list i {
    color: var(--primary);
    margin-right: 8px;
}

.hk-feature-alert-success {
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
    border-radius: 14px;
    padding: 18px 16px;
}
.hk-match-score {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    background: rgba(47, 128, 148, 0.1);
    padding: 4px 10px;
    border-radius: 999px;
}

.hk-builder-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    color: #059669;
    background: #D1FAE5;
    padding: 3px 8px;
    border-radius: 999px;
    margin-bottom: 6px;
}
.hk-builder-verified-badge--block {
    display: inline-flex;
    margin-bottom: 10px;
}

.hk-compare-table th,
.hk-compare-table td {
    vertical-align: middle;
    font-size: 14px;
}
.hk-compare-thumb {
    width: 100%;
    max-width: 120px;
    height: 72px;
    object-fit: cover;
    border-radius: 8px;
}
.compare-table-wrap {
    overflow-x: auto;
}

.hk-inventory-block {
    margin-bottom: 32px;
    border: 1px solid #E8EDF2;
    border-radius: 16px;
    overflow: hidden;
    background: var(--white);
}
.hk-inventory-block-head {
    padding: 18px 20px;
    background: #F8FAFC;
    border-bottom: 1px solid #EEF2F6;
}
.hk-inventory-block-head h2 {
    margin: 0 0 6px;
    font-size: 18px;
}
.hk-inventory-table {
    margin: 0;
    font-size: 13px;
}
.hk-inventory-status {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 999px;
}
.hk-inventory-status--available { background: #D1FAE5; color: #065F46; }
.hk-inventory-status--booked { background: #FEF3C7; color: #92400E; }
.hk-inventory-status--sold { background: #FEE2E2; color: #991B1B; }

.hk-referral-code {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--primary);
    margin: 0 0 16px;
}
.hk-referral-steps {
    padding-left: 20px;
    line-height: 1.7;
    color: #475569;
}

.hk-compare-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--secondary);
    color: var(--white);
    padding: 12px 16px;
    z-index: 9990;
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    box-shadow: 0 -8px 24px rgba(0,0,0,0.15);
}
.hk-compare-bar.is-visible {
    display: flex;
}
.hk-compare-check {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--secondary);
    margin-right: 8px;
    cursor: pointer;
}
.hk-compare-check input {
    margin: 0;
}

@media (max-width: 991px) {
    .hk-features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 575px) {
    .hk-features-grid {
        grid-template-columns: 1fr;
    }
}
