
/* =========================================
   Promo Wrapper & Main Card
   ========================================= */

.promo-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.promo-card {
    background-color: #EAF3EDC2;
    border-radius: 24px;
    padding: 50px 40px;
    width: 100%;
    max-width: 1020px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);

    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 45px;
    align-items: center;
}

/* =========================================
   Promotion Badge
   ========================================= */

.promo-card > .badge {
    position: absolute;
    top: -14px;
    right: 28px;
    z-index: 5;

    padding: 9px 22px;
    background: #45d455;
    color: #fff;

    font-size: 18px;
    font-weight: 700;
    letter-spacing: .3px;

    border-radius: 50px;
    box-shadow: 0 4px 12px rgba(2, 206, 128, .2);
    pointer-events: none;
}

/* =========================================
   Left Panel: Streaming Platforms
   ========================================= */

.left-panel {
    position: relative;
    width: 100%;
}

.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    width: 100%;
}

/* Platform Cards */
.promo-card .app-card {
    display: flex;
    align-items: center;
    gap: 14px;

    padding: 15px 17px;
    min-height: 76px;

    background: #FFFFFF;
    border: 1px solid rgba(20, 29, 56, 0.07);
    border-radius: 12px;

    box-shadow: 0 3px 10px rgba(20, 29, 56, 0.035);
    transition: all 0.2s ease;
}

.promo-card .app-card:hover {
    transform: translateY(-2px);
    border-color: rgba(2, 206, 128, 0.5);
    box-shadow: 0 5px 14px rgba(20, 29, 56, 0.07);
}

/* Platform Names */
.promo-card .app-card span {
    color: #141D38;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.4;
}

/* General Icons */
.icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #fca834;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: inset 0 -2px 6px rgba(0,0,0,0.1);
}

/* Platform Logo Icons */
.promo-card .app-card .icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent;
    border-radius: 10px;
    box-shadow: none;
}

.promo-card .app-card .icon img {
    display: block;
    width: 52px;
    height: 52px;
    object-fit: contain;
}

/* More Platforms */
.icon.logo-mehr {
    background-color: #5ce1ca;
    font-size: 0.65rem;
    letter-spacing: 0.5px;
}

.promo-card .app-card .icon.logo-mehr {
    background: #E7FAF2;
    color: #079B68;
    font-size: 13px;
    font-weight: 800;
    border-radius: 10px;
    box-shadow: none;
}

/* Center Plus Sign */
.plus-sign {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    color: #ff6f3d;
    font-size: 2.6rem;
    font-weight: 700;

    pointer-events: none;
    z-index: 10;

    text-shadow: 0 2px 4px rgba(244, 247, 230, 0.8);
}

/* =========================================
   Right Panel: Product Information
   ========================================= */

.right-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 0;
}

.right-panel a {
    color: #141D38;
}

.right-panel a:hover {
    color: rgba(2, 206, 128, 1);
}

.right-panel-dl {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    padding: 10px 0;
}

.right-panel-dl a {
    color: #141D38;
}

.right-panel-dl a:hover {
    color: rgba(2, 206, 128, 1);
}

/* Product Logo */
.main-logo {
    width: 72px;
    height: 72px;

    background: linear-gradient(135deg, #ffbc5d, #ff7435);
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 6px 16px rgba(255, 116, 53, 0.25);
    margin-bottom: 16px;
}

.lightning-icon {
    color: white;
    font-size: 2.2rem;
    transform: rotate(5deg);
}

/* Product Titles */
.right-panel h2,
.right-panel-dl h2 {
    font-size: 1.65rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 14px 0;
    letter-spacing: -0.3px;
}

/* Product Description */
.description {
    color: #656d76;
    font-size: 1rem;
    line-height: 1.55;
    max-width: 340px;
    margin: 0 0 25px 0;
}

/* =========================================
   Price
   ========================================= */

.price-container {
    display: inline-grid;
    align-items: baseline;
    justify-content: center;
    gap: 12px;
    margin-bottom: 22px;
}

.current-price {
    color: #ff5e3a;
    font-size: 2.5rem;
    font-weight: 800;
}

.unit-price {
    font-size: 1.5rem;
}

.old-price {
    color: #a0aec0;
    text-decoration: line-through;
    font-size: 1.15rem;
}

/* =========================================
   Buy Button
   ========================================= */

.buy-btn {
    background-color: #34c040;
    color: white;
    border: none;
    padding: 14px 0;
    width: 100%;
    max-width: 210px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 100px;
    cursor: pointer;

    transition: background-color 0.2s ease,
                transform 0.2s ease,
                box-shadow 0.2s ease;
}

.buy-btn:hover {
    background-color: #45D455;
    transform: translateY(-1px);
    color: white;
}

.buy-btn:active {
    background: #2A9933;
    color: var(--white-color);
}

.license-info {
    margin-top: 14px;
    font-size: 0.85rem;
    color: #718096;
    font-weight: 500;
}

/* =========================================
   Download Button with System Information
   ========================================= */

.meta-info {
    color: #555555;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.meta-info a {
    color: #38b167;
    text-decoration: none;
    font-weight: 500;
}

.meta-info a:hover {
    text-decoration: underline;
}

.download-btn {
    background-color: #2ec44e;
    color: white !important;
    border: none;
    padding: 14px 24px;
    width: 100%;
    max-width: 320px;
    border-radius: 100px;
    cursor: pointer;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-decoration: none;
    box-shadow: 0 4px 12px rgba(46, 196, 78, 0.15);
    transition: background-color 0.2s ease,
                transform 0.2s ease;
}

/* Button Main Content */
.btn-main-content {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.2rem;
    font-weight: 700;
}

/* Button System Information */
.btn-sub-info {
    font-size: 0.78rem;
    font-weight: 400;
    opacity: 0.9;
    margin-top: 2px;
}

.download-btn:hover {
    background-color: #27b244;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(46, 196, 78, 0.25);
}

.download-btn:active {
    background-color: #1f9435;
}

/* Windows Icon */
.win-icon {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    width: 16px;
    height: 16px;
}

.win-icon span {
    background: white;
    display: block;
}

/* Mac Link */
.mac-link {
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    color: #333333;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
}

.mac-icon {
    font-size: 1rem;
}

/* =========================================
   Tablet & Small Screens
   ========================================= */

@media (max-width: 880px) {
    .promo-card {
        grid-template-columns: 1fr;
        padding: 40px 30px;
        gap: 35px;
    }

    .right-panel,
    .right-panel-dl {
        padding-top: 25px;
        border-top: 1px dashed rgba(0,0,0,0.1);
        width: 100%;
    }

    .promo-card > .badge {
        z-index: 100;
    }
}

/* =========================================
   Mobile
   ========================================= */

@media (max-width: 480px) {
    .promo-card {
        padding-top: 60px !important;
    }

    .grid-container {
        grid-template-columns: 1fr;
    }

    .plus-sign {
        display: none;
    }

    /* Promotion Badge */
    .promo-card > .badge {
        top: -12px;
        right: 14px;
        padding: 7px 15px;
        font-size: 15px;
        z-index: 100;
    }

    /* Platform Cards */
    .promo-card .app-card {
        gap: 9px;
        padding: 11px 9px;
        min-height: 65px;
    }

    .promo-card .app-card .icon,
    .promo-card .app-card .icon img {
        width: 38px;
        height: 38px;
    }

    .promo-card .app-card span {
        font-size: 12px;
        line-height: 1.35;
    }

    .promo-card .app-card .icon.logo-mehr {
        font-size: 11px;
    }
}
