:root {
    --product-card-radius: 28px;
    --product-card-padding: clamp(22px, 2.4vw, 28px);
    --product-card-gap: clamp(18px, 2vw, 22px);
    --product-card-border: rgba(13, 26, 43, 0.08);
    --product-card-shadow: 0 22px 44px rgba(13, 26, 43, 0.07);
    --product-card-surface: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(241, 247, 252, 0.84));
    --product-card-highlight: linear-gradient(160deg, rgba(9, 119, 201, 0.96), rgba(0, 199, 137, 0.9));
}

.feature-grid,
.stats-grid {
    align-items: stretch;
    gap: var(--product-card-gap);
}

.feature-grid > .feature-card,
.stats-grid > .stat-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: var(--product-card-padding);
    border-radius: var(--product-card-radius);
    border: 1px solid var(--product-card-border);
    background: var(--product-card-surface);
    box-shadow: var(--product-card-shadow);
    overflow: hidden;
}

.feature-grid > .feature-card.highlight,
.stats-grid > .stat-card.highlight {
    background: var(--product-card-highlight);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 28px 56px rgba(9, 119, 201, 0.22);
}

.feature-grid > .feature-card.tall {
    min-height: clamp(430px, 45vw, 490px);
}

.feature-grid > .feature-card .feature-tag {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    min-height: 34px;
    margin-bottom: 16px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(13, 26, 43, 0.06);
    color: var(--primary-deep, #0d1a2b);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.feature-grid > .feature-card.highlight .feature-tag {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.feature-grid > .feature-card h3 {
    margin: 0 0 12px;
    font-size: clamp(1.18rem, 1.7vw, 1.42rem);
    line-height: 1.32;
    letter-spacing: -0.03em;
}

.feature-grid > .feature-card p,
.stats-grid > .stat-card span,
.feature-grid > .feature-card .feature-list li,
.stats-grid > .stat-card small {
    color: var(--muted, rgba(13, 26, 43, 0.74));
    line-height: 1.72;
}

.feature-grid > .feature-card p,
.stats-grid > .stat-card span,
.stats-grid > .stat-card small {
    margin: 0;
}

.feature-grid > .feature-card .feature-list {
    margin: 6px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.feature-grid > .feature-card .feature-list li {
    position: relative;
    padding-left: 18px;
}

.feature-grid > .feature-card .feature-list li::before {
    content: "";
    position: absolute;
    top: 0.72em;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary, #0977c9), var(--secondary, #00c789));
}

.feature-grid > .feature-card.highlight p,
.feature-grid > .feature-card.highlight .feature-list li,
.stats-grid > .stat-card.highlight span,
.stats-grid > .stat-card.highlight small {
    color: rgba(255, 255, 255, 0.84);
}

.feature-grid > .feature-card.highlight .feature-list li::before {
    background: rgba(255, 255, 255, 0.92);
}

.feature-grid > .feature-card .terminal,
.feature-grid > .feature-card .product-meta {
    margin-top: auto;
}

.feature-grid > .feature-card .product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 18px;
}

.feature-grid > .feature-card .product-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(13, 26, 43, 0.06);
    color: var(--primary-deep, #0d1a2b);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.feature-grid > .feature-card.highlight .product-meta span {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.feature-grid > .feature-card .product-price {
    margin-top: 16px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    padding-top: 16px;
    border-top: 1px solid rgba(13, 26, 43, 0.08);
}

.feature-grid > .feature-card.highlight .product-price {
    border-top-color: rgba(255, 255, 255, 0.18);
}

.feature-grid > .feature-card .product-price strong {
    letter-spacing: 0.05em;
}

.feature-grid > .feature-card .product-price span {
    color: var(--muted, rgba(13, 26, 43, 0.74));
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.feature-grid > .feature-card.highlight .product-price span {
    color: rgba(255, 255, 255, 0.76);
}

.hardware-product-card {
    min-height: 100%;
}

.hardware-product-card .feature-tag {
    min-height: 30px;
    margin-bottom: 14px;
    padding: 6px 10px;
    font-size: 0.64rem;
    letter-spacing: 0.09em;
}

.hardware-product-card h3 {
    margin-bottom: 10px;
    font-size: clamp(0.98rem, 1.05vw, 1.16rem);
    line-height: 1.42;
}

.hardware-product-card p {
    font-size: 0.8rem;
    line-height: 1.62;
}

.hardware-product-card .product-meta {
    margin-top: auto;
    padding-top: 18px;
}

.hardware-product-card .product-meta span {
    min-height: 28px;
    padding: 5px 10px;
    font-size: 0.64rem;
    letter-spacing: 0.08em;
}

.hardware-product-card .product-price {
    display: flex;
    margin-top: 14px;
    padding-top: 14px;
}

.hardware-product-card .product-price strong {
    font-size: 0.82rem;
    line-height: 1.18;
    letter-spacing: 0.04em;
}

.hardware-product-card .product-price span {
    font-size: 0.64rem;
}

body.hardware-prices-hidden [data-catalog-item] .product-price,
[data-catalog-item] .product-price[hidden] {
    display: none !important;
}

.stats-grid > .stat-card {
    justify-content: space-between;
}

.stats-grid > .stat-card small {
    display: block;
    margin-top: 14px;
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

@media (max-width: 1180px) {
    .feature-grid,
    .stats-grid {
        gap: 18px;
    }
}

@media (max-width: 760px) {
    .feature-grid > .feature-card,
    .stats-grid > .stat-card {
        border-radius: 24px;
    }

    .feature-grid > .feature-card.tall {
        min-height: auto;
    }
}
