.downloads-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 48px;
}

/* ── Pricing cards ── */
.dl-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
    align-items: stretch;
}

.dl-card {
    border: 0.5px solid var(--border);
    border-radius: var(--radius-sm, 8px);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
}

.dl-card-head {
    background: var(--blue);
    color: #fff;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    padding: 18px;
    letter-spacing: 0.03em;
}

.dl-card-body {
    padding: 32px 28px 28px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: calc(100% - 56px);
}

.dl-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.dl-price-num {
    font-size: 48px;
    font-weight: 700;
    color: var(--blue);
    line-height: 1;
}

.dl-price-cur {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    align-self: flex-end;
    padding-bottom: 18px;
}

.dl-pay-once-img {
    width: 80px;
    height: auto;
    border: none;
    border-radius: 0;
    margin: 0;
}

.dl-pay-once-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: -12px;
}

.dl-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 70px;
}

.dl-features li {
    font-size: 14px;
    color: var(--text);
    padding-left: 24px;
    position: relative;
}

.dl-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 3px;
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%2338a169' stroke-width='2' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M12 8l4 4-4 4M8 12h8'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
}

.dl-btn {
    display: block;
    text-align: center;
    padding: 13px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    margin-top: auto;
}

/* BEST ribbon */
.dl-card-best {
    position: absolute;
    top: 16px;
    right: -10px;
    background: #f5a623;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    padding: 4px 20px 4px 12px;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 8px 100%);
    z-index: 1;
}

/* ── Comparison table ── */
.dl-table-title {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 24px;
    color: var(--text);
}

.dl-table-wrap {
    border: 0.5px solid var(--border);
    border-radius: var(--radius-sm, 8px);
    overflow: hidden;
}

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

.dl-table thead tr {
    background: var(--blue);
    color: #fff;
}

.dl-table thead th {
    padding: 14px 20px;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.05em;
    text-align: center;
}

.dl-table thead th:first-child {
    text-align: left;
    width: 55%;
}

.dl-table tbody tr {
    border-bottom: 0.5px solid var(--border);
}

.dl-table tbody tr:last-child {
    border-bottom: none;
}

.dl-table tbody tr:nth-child(even) {
    background: var(--bg-soft, #f8f9fb);
}

.dl-table td {
    padding: 14px 20px;
    vertical-align: middle;
    text-align: center;

    line-height: 1.5;
}

.dl-table td:first-child {
    text-align: left;
}

.dl-table td em {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 3px;
}

.dl-no {
    color: #e53e3e;
    font-size: 18px;
    font-weight: 700;
}

.dl-yes {
    color: #38a169;
    font-size: 18px;
    font-weight: 700;
}

@media (max-width: 640px) {
    .downloads-page {
        padding: 24px 20px;
    }
    .dl-cards {
        grid-template-columns: 1fr;
    }
    .dl-table thead th:first-child {
        width: auto;
    }
}
