.amd-epyc-page {
    background: #f7faf9;
    color: #1b2630;
}

.epyc-hero {
    display: grid;
    width: min(calc(100% - 72px), 1298px);
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
    align-items: center;
    gap: clamp(36px, 6vw, 88px);
    margin: 0 auto;
    padding: 76px 0 66px;
}

.epyc-hero-copy {
    min-width: 0;
}

.epyc-value-badge {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    gap: 9px;
    padding: 0 14px;
    border: 1px solid #d2eee0;
    border-radius: 999px;
    background: #fff;
    color: #298f70;
    font-size: 13px;
}

.epyc-value-badge svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.epyc-hero h1 {
    margin: 24px 0 18px;
    color: #1b2630;
    font-size: clamp(48px, 6.1vw, 78px);
    font-weight: 800;
    letter-spacing: -0.06em;
    line-height: 0.99;
}

.epyc-hero h1 > span {
    background: linear-gradient(100deg, #34b75b, #08a994);
    background-clip: text;
    color: transparent;
    -webkit-background-clip: text;
}

.epyc-hero-copy > p {
    max-width: 660px;
    margin: 0;
    color: #5f6e70;
    font-size: 17px;
    line-height: 1.62;
}

.epyc-quick-specs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 25px;
}

.epyc-quick-specs > div {
    min-width: 0;
    min-height: 90px;
    padding: 13px 12px;
    border: 1px solid #e0e8e3;
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.82);
}

.epyc-quick-specs > div > span,
.epyc-quick-specs > div > strong {
    display: block;
}

.epyc-quick-specs > div > span {
    margin-bottom: 5px;
    color: #657577;
    font-size: 11px;
}

.epyc-quick-specs > div > strong {
    color: #15242b;
    font-size: 14px;
    font-weight: 790;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.epyc-quick-specs small {
    margin-left: 3px;
    color: #68787b;
    font-size: 11px;
    font-weight: 500;
}

.epyc-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 23px;
}

.epyc-button {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 21px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 780;
    transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.epyc-button:hover {
    transform: translateY(-2px);
}

.epyc-button svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.epyc-button-primary {
    min-width: 176px;
    background: linear-gradient(105deg, #0aa772, #079c8c);
    box-shadow: 0 9px 20px rgba(17, 147, 105, 0.18);
    color: #fff;
}

.epyc-button-secondary {
    min-width: 160px;
    border: 1px solid #d7e2e0;
    background: #fff;
    color: #33444e;
}

.epyc-profile {
    min-width: 0;
    padding: 32px;
    border: 1px solid #e0e5e7;
    border-radius: 21px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 22px 55px rgba(37, 83, 66, 0.12);
}

.epyc-profile-heading {
    display: flex;
    align-items: center;
    gap: 17px;
    margin-bottom: 28px;
}

.epyc-profile-icon {
    display: grid;
    width: 80px;
    height: 80px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 15px;
    background: #f2f4f6;
    color: #20bd91;
}

.epyc-profile-icon svg {
    width: 42px;
    height: 42px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.epyc-profile-heading strong,
.epyc-profile-heading small {
    display: block;
}

.epyc-profile-heading strong {
    color: #151d2d;
    font-size: clamp(17px, 2vw, 22px);
    font-weight: 850;
    letter-spacing: 0.02em;
}

.epyc-profile-heading small {
    margin-top: 5px;
    color: #68787b;
    font-size: 14px;
}

.epyc-profile-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.epyc-profile-grid > div {
    display: grid;
    min-width: 0;
    min-height: 116px;
    align-content: center;
    gap: 6px;
    padding: 17px;
    border: 1px solid #e9edef;
    border-radius: 14px;
    background: #fff;
}

.epyc-profile-grid svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
}

.epyc-profile-grid .ram-icon {
    color: #29c67d;
}

.epyc-profile-grid .storage-icon,
.epyc-profile-grid .network-icon {
    color: #0ba9ed;
}

.epyc-profile-grid .shield-icon {
    color: #ff6572;
}

.epyc-profile-grid > div > span {
    color: #617175;
    font-size: 13px;
}

.epyc-profile-grid > div > strong {
    color: #15242b;
    font-size: 16px;
    font-weight: 780;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.epyc-stats {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 15px;
    padding: 34px max(36px, calc((100vw - 1298px) / 2)) 38px;
    background: #fff;
}

.epyc-stats > div {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.epyc-stat-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    margin-bottom: 10px;
    border-radius: 50%;
    background: #f2f5f6;
    color: #20b976;
}

.epyc-stat-icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.epyc-stats > div:nth-child(2n) .epyc-stat-icon,
.epyc-stats > div:nth-child(4) .epyc-stat-icon {
    color: #08a9de;
}

.epyc-stats > div:nth-child(5) .epyc-stat-icon {
    color: #ff5b68;
}

.epyc-stats > div > strong {
    color: #152033;
    font-size: clamp(17px, 2vw, 23px);
    font-weight: 850;
    line-height: 1.25;
}

.epyc-stats > div > span:last-child {
    max-width: 140px;
    margin-top: 4px;
    color: #68787b;
    font-size: 12px;
    line-height: 1.45;
}

.epyc-plans {
    padding: 75px max(36px, calc((100vw - 1298px) / 2)) 85px;
    background:
        radial-gradient(ellipse at 50% 0, rgba(58, 192, 116, 0.08), transparent 48%),
        #f3faf7;
    scroll-margin-top: 24px;
}

.epyc-plans-heading {
    max-width: 740px;
    margin: 0 auto 44px;
    text-align: center;
}

.epyc-plans-heading > span {
    color: #259975;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.15em;
}

.epyc-plans-heading h2 {
    margin: 12px 0 10px;
    color: #1c8c6c;
    font-size: clamp(31px, 4vw, 46px);
    font-weight: 650;
    letter-spacing: -0.035em;
}

.epyc-plans-heading p {
    margin: 0;
    color: #607175;
    font-size: 15px;
    line-height: 1.6;
}

.epyc-plan-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 27px 30px;
}

.epyc-plan-card {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 30px 25px 24px;
    border: 1px solid #dfe5e8;
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 14px 36px rgba(35, 65, 73, 0.075);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.epyc-plan-card:hover {
    transform: translateY(-4px);
    border-color: #9ddcc0;
    box-shadow: 0 20px 44px rgba(35, 101, 74, 0.14);
}

.epyc-plan-card.is-featured {
    border-color: #90d3a9;
    box-shadow: 0 18px 44px rgba(55, 145, 80, 0.12);
}

.epyc-plan-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    display: inline-flex;
    min-height: 27px;
    align-items: center;
    padding: 0 16px;
    border-radius: 999px;
    background: linear-gradient(100deg, #36bc51, #13a971);
    box-shadow: 0 5px 12px rgba(39, 165, 93, 0.17);
    color: #fff;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transform: translateX(-50%);
}

.epyc-plan-card:nth-child(3n) .epyc-plan-badge {
    background: linear-gradient(100deg, #16aaa8, #08a5ca);
}

.epyc-plan-card h3 {
    margin: 0;
    background: linear-gradient(95deg, #16b86b, #06a59b);
    background-clip: text;
    color: transparent;
    font-size: clamp(21px, 2vw, 26px);
    font-weight: 850;
    letter-spacing: 0.015em;
    text-align: center;
    -webkit-background-clip: text;
}

.epyc-plan-description {
    min-height: 42px;
    margin: 8px 0 15px;
    color: #566470;
    font-size: 13px;
    line-height: 1.5;
    text-align: center;
}

.epyc-plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 4px;
    margin: 1px 0 0;
    color: #121b2b;
}

.epyc-plan-price strong {
    font-size: clamp(35px, 4vw, 46px);
    font-weight: 850;
    letter-spacing: -0.04em;
    line-height: 1;
}

.epyc-plan-price span {
    color: #66747f;
    font-size: 13px;
}

.epyc-plan-note {
    margin: 7px 0 23px;
    color: #677583;
    font-size: 12px;
    text-align: center;
}

.epyc-plan-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
    padding: 12px;
    background: #fafbfc;
}

.epyc-plan-specs > div {
    display: flex;
    min-width: 0;
    min-height: 87px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 3px;
    padding: 10px 12px;
    border: 1px solid #edf0f2;
    background: #fff;
}

.epyc-spec-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #566776;
    font-size: 12px;
}

.epyc-spec-label svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: #26c57d;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.6;
}

.epyc-plan-specs > div:nth-child(3) .epyc-spec-label svg {
    stroke: #0ca8ec;
}

.epyc-plan-specs > div:nth-child(4) .epyc-spec-label svg {
    stroke: #f1a719;
}

.epyc-plan-specs > div > strong {
    color: #162032;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.epyc-plan-specs > div > small {
    color: #667487;
    font-size: 11px;
}

.epyc-plan-specs .epyc-spec-wide {
    min-height: 44px;
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 9px 12px;
    background: #f2f4f6;
}

.epyc-plan-specs .epyc-spec-wide > strong {
    font-size: 12px;
}

.epyc-spec-wide .epyc-spec-label svg {
    stroke: #0da5df;
}

.epyc-plan-details {
    margin-top: 14px;
}

.epyc-plan-details > p {
    display: flex;
    min-height: 38px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding: 7px 9px;
    color: #455664;
    font-size: 12px;
}

.epyc-plan-details > p:nth-child(odd) {
    background: #fafbfc;
}

.epyc-plan-details > p > strong {
    color: #1d2a39;
    font-size: 12px;
    font-weight: 770;
    text-align: right;
}

.epyc-includes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px 11px;
    margin: 17px 0 20px;
    padding: 0;
    list-style: none;
}

.epyc-includes li {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    color: #546473;
    font-size: 11px;
    line-height: 1.45;
}

.epyc-includes li::before {
    flex: 0 0 auto;
    color: #28b96f;
    content: "✓";
    font-size: 12px;
    font-weight: 850;
}

.epyc-order-button {
    display: flex;
    min-height: 49px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    border-radius: 10px;
    background: linear-gradient(100deg, #0aa56c, #12aa83);
    box-shadow: 0 8px 16px rgba(27, 139, 94, 0.15);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    transition: filter 150ms ease, transform 150ms ease;
}

.epyc-plan-card:nth-child(3n) .epyc-order-button {
    background: linear-gradient(100deg, #0dabc1, #0aa594);
}

.epyc-plan-card:nth-child(3n + 2) .epyc-order-button {
    background: linear-gradient(100deg, #83bd10, #1db65c);
}

.epyc-order-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
}

.epyc-order-button > span {
    font-size: 21px;
    font-weight: 400;
}

@media (max-width: 1050px) {
    .epyc-hero {
        width: min(calc(100% - 48px), 850px);
        grid-template-columns: minmax(0, 1fr);
        gap: 34px;
    }

    .epyc-plan-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 25px;
    }

    .epyc-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 26px;
    }
}

@media (max-width: 700px) {
    .epyc-hero {
        width: calc(100% - 36px);
        gap: 26px;
        padding: 46px 0 42px;
    }

    .epyc-hero h1 {
        margin-top: 20px;
        font-size: clamp(43px, 12vw, 64px);
    }

    .epyc-hero-copy > p {
        font-size: 15px;
    }

    .epyc-quick-specs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .epyc-quick-specs > div {
        min-height: 74px;
    }

    .epyc-hero-actions {
        gap: 10px;
    }

    .epyc-button {
        min-height: 49px;
        padding: 0 15px;
        font-size: 13px;
    }

    .epyc-button-primary,
    .epyc-button-secondary {
        min-width: 0;
        flex: 1;
    }

    .epyc-profile {
        padding: 20px;
    }

    .epyc-profile-heading {
        gap: 12px;
        margin-bottom: 18px;
    }

    .epyc-profile-icon {
        width: 58px;
        height: 58px;
    }

    .epyc-profile-icon svg {
        width: 33px;
        height: 33px;
    }

    .epyc-profile-heading small {
        font-size: 11px;
    }

    .epyc-profile-grid {
        gap: 9px;
    }

    .epyc-profile-grid > div {
        min-height: 100px;
        padding: 11px;
    }

    .epyc-profile-grid > div > strong {
        font-size: 13px;
    }

    .epyc-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 12px;
        padding: 28px 18px;
    }

    .epyc-plans {
        padding: 55px 18px 62px;
    }

    .epyc-plans-heading {
        margin-bottom: 33px;
    }

    .epyc-plan-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 27px;
    }

    .epyc-plan-card {
        padding: 29px 19px 20px;
    }

}

@media (prefers-reduced-motion: reduce) {
    .epyc-button,
    .epyc-plan-card,
    .epyc-order-button {
        transition: none;
    }
}
