.app5-page {
    background: #fff;
    color: #20232d;
    font-family: Inter, Arial, sans-serif;
}

.app5-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

.app5-hero {
    background: #fff;
    padding: 76px 0 64px;
}

.app5-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 58px;
    align-items: center;
}

.app5-hero__eyebrow {
    font-size: 14px;
    color: #555b68;
    margin-bottom: 12px;
}

.app5-hero__title {
    font-size: 44px;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #111827;
    margin: 0 0 20px;
}

.app5-hero__desc {
    font-size: 16px;
    line-height: 1.75;
    color: #3f4351;
    max-width: 540px;
    margin-bottom: 28px;
}

.app5-hero__image {
    height: 300px;
    border-radius: 0;
    overflow: hidden;
}

.app5-hero__image img,
.app5-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Buttons */
.app5-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 13px 24px;
    border-radius: 8px;
    background: #e7332f;
    color: #fff !important;
    font-weight: 700;
    text-decoration: none;
}

.app5-btn:hover {
    background: #d72323;
}

.app5-btn--full {
    width: 100%;
}

/* Common */
.app5-definition,
.app5-importance,
.app5-benefit-intro {
    padding: 74px 0;
    background: #fff;
}

.app5-two-col {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
    gap: 64px;
    align-items: center;
}

.app5-two-col--reverse {
    grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
}

.app5-copy h2 {
    font-size: 30px;
    line-height: 1.28;
    font-weight: 750;
    color: #20232d;
    margin: 0 0 24px;
}

.app5-richtext,
.app5-richtext p {
    font-size: 17px;
    line-height: 1.85;
    color: #2f3542;
}

.app5-richtext p {
    margin: 0 0 20px;
}

.app5-image-card {
    height: 310px;
    border-radius: 18px;
    overflow: hidden;
}

.app5-section-head {
    text-align: center;
    margin-bottom: 44px;
}

.app5-section-head h2 {
    font-size: 32px;
    line-height: 1.25;
    font-weight: 750;
    color: #20232d;
    margin: 0;
}

.app5-section-head p {
    max-width: 720px;
    margin: 14px auto 0;
    color: #697080;
    font-size: 15px;
    line-height: 1.7;
}

/* Check list */
.app5-check-grid {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 28px;
}

.app5-check-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 15px;
    line-height: 1.55;
    color: #343a46;
}

.app5-check-item i {
    color: #111827;
    font-weight: 700;
}

/* Customers */
.app5-customers {
    padding: 76px 0;
    background: #fff;
}

.app5-customer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.app5-customer-card {
    background: #fff;
    border: 1px solid #ededed;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.app5-customer-card img {
    width: 100%;
    height: 175px;
    object-fit: cover;
    display: block;
}

.app5-customer-card__body {
    padding: 24px 24px 26px;
}

.app5-customer-card h3 {
    font-size: 20px;
    color: #20232d;
    margin: 0 0 16px;
}

.app5-customer-card p {
    font-size: 15px;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 18px;
}

.app5-customer-card a {
    color: #e11d1d;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

/* Distributed */
.app5-distributed {
    padding: 54px 0;
    text-align: center;
    background: #fff;
}

.app5-distributed h2 {
    font-size: 28px;
    margin-bottom: 28px;
}

.app5-logo-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 34px;
    flex-wrap: wrap;
}

.app5-logo-row img {
    max-height: 78px;
    max-width: 220px;
    object-fit: contain;
}

/* Services */
.app5-services {
    padding: 78px 0;
    background: #fff;
}

.app5-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 46px 72px;
}

.app5-service-item {
    text-align: left;
}

.app5-service-icon {
    width: 48px;
    height: 48px;
    background: #e11d1d;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 22px;
}

.app5-service-item h3 {
    font-size: 22px;
    line-height: 1.35;
    margin: 0 0 18px;
    color: #20232d;
}

.app5-service-item p {
    font-size: 16px;
    line-height: 1.8;
    color: #343a46;
}

/* Pricing */
.app5-pricing {
    padding: 82px 0;
    background: #fff;
}

.app5-pricing-wrap {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 34px;
    max-width: 1040px;
    margin: 0 auto;
    align-items: stretch;
}

.app5-pricing-promo {
    background: #e3201c;
    border-radius: 14px;
    padding: 34px 28px 0;
    color: #fff;
    overflow: hidden;
    min-height: 520px;
    display: flex;
    flex-direction: column;
}

.app5-pricing-promo h3 {
    font-size: 22px;
    line-height: 1.2;
    color: #fff;
    margin: 0 0 20px;
}

.app5-pricing-promo p {
    font-size: 15px;
    line-height: 1.7;
    color: #fff;
}

.app5-pricing-promo img {
    width: 115%;
    max-width: none;
    margin: auto -20px 0;
}

.app5-pricing-card {
    background: #fff;
    border: 1px solid #ededed;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    padding: 38px 42px;
    overflow: hidden;
}

.app5-pricing-label {
    display: inline-flex;
    padding: 8px 28px;
    border: 1px solid #e11d1d;
    border-radius: 999px;
    color: #e11d1d;
    font-size: 16px;
    margin-bottom: 24px;
}

.app5-pricing-card h3 {
    font-size: 28px;
    margin: 0 0 26px;
    color: #20232d;
}

.app5-pricing-bullets {
    display: grid;
    gap: 15px;
    padding-bottom: 26px;
    border-bottom: 1px dashed #ddd;
}

.app5-pricing-bullet,
.app5-pricing-note {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    font-size: 16px;
    line-height: 1.55;
    color: #343a46;
}

.app5-pricing-bullet i {
    background: #e11d1d;
    color: #fff;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app5-pricing-notes {
    display: grid;
    gap: 14px;
    padding: 26px 0;
    border-bottom: 1px dashed #ddd;
}

.app5-pricing-note i {
    border: 2px solid #e11d1d;
    color: #e11d1d;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app5-price {
    font-size: 28px;
    font-weight: 800;
    margin: 26px 0 22px;
    color: #111827;
}

.app5-price p {
    margin: 0;
}

.app5-price strong {
    color: #e11d1d;
}

/* Related */
.app5-related {
    padding: 80px 0 120px;
    background: #fff;
}

.app5-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.app5-related-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: #f5f5f5;
    border-radius: 14px;
    overflow: hidden;
    min-height: 330px;
}

.app5-related-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    display: block;
}

.app5-related-card__body {
    padding: 22px;
}

.app5-related-card h3 {
    font-size: 18px;
    color: #20232d;
    margin: 0 0 12px;
}

.app5-related-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #4b5563;
}

/* Responsive */
@media (max-width: 1024px) {
    .app5-hero__inner,
    .app5-two-col,
    .app5-two-col--reverse {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .app5-customer-grid,
    .app5-service-grid,
    .app5-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .app5-pricing-wrap {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .app5-container {
        padding: 0 16px;
    }

    .app5-hero {
        padding: 46px 0;
    }

    .app5-hero__title {
        font-size: 34px;
    }

    .app5-section-head h2,
    .app5-copy h2 {
        font-size: 26px;
    }

    .app5-customer-grid,
    .app5-service-grid,
    .app5-related-grid,
    .app5-check-grid {
        grid-template-columns: 1fr;
    }

    .app5-hero__image,
    .app5-image-card {
        height: 240px;
    }

    .app5-pricing-card {
        padding: 28px 22px;
    }
}

/* ==================================================
   DRM Application5 final spacing/card fixes
   ================================================== */

.app5-hero {
    padding: 46px 0 58px !important;
}

.app5-definition,
.app5-importance,
.app5-benefit-intro {
    padding: 54px 0 !important;
}

.app5-customers,
.app5-services,
.app5-pricing,
.app5-related {
    padding: 62px 0 !important;
}

.app5-distributed {
    padding: 34px 0 42px !important;
}

.app5-section-head {
    margin-bottom: 34px !important;
}

.app5-two-col {
    gap: 46px !important;
}

.app5-image-card {
    height: 300px !important;
}

.app5-customer-grid {
    gap: 28px !important;
    align-items: stretch;
}

.app5-customer-card {
    min-height: 360px;
    display: flex;
    flex-direction: column;
}

.app5-customer-card img {
    display: block !important;
    height: 170px !important;
    object-fit: cover !important;
}

.app5-customer-card__body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.app5-customer-card__body a {
    margin-top: auto;
}

.app5-service-grid {
    gap: 44px 66px !important;
}

.app5-pricing-wrap {
    max-width: 980px !important;
}

.app5-pricing-promo {
    min-height: 440px !important;
}

.app5-pricing-card {
    padding: 34px 38px !important;
}

.app5-related-grid {
    gap: 26px !important;
}

.app5-related-card {
    min-height: 310px !important;
}

.app5-related-card img {
    display: block !important;
    height: 145px !important;
    object-fit: cover !important;
}

/* Nếu section logo không có ảnh thì ẩn luôn để tránh khoảng trắng */
.app5-distributed .app5-logo-row:empty {
    display: none !important;
}

.app5-distributed .app5-logo-row:empty + * {
    display: none !important;
}

/* Giảm khoảng trắng khi chỉ có tiêu đề phân phối */
.app5-distributed:has(.app5-logo-row:empty) {
    display: none !important;
}

@media (max-width: 1024px) {
    .app5-hero,
    .app5-definition,
    .app5-importance,
    .app5-benefit-intro,
    .app5-customers,
    .app5-services,
    .app5-pricing,
    .app5-related {
        padding: 44px 0 !important;
    }
}

@media (max-width: 640px) {
    .app5-image-card,
    .app5-hero__image {
        height: 230px !important;
    }

    .app5-customer-card,
    .app5-related-card {
        min-height: auto !important;
    }
}
