/*---------------------------------------------------------*/
/* StreamOne Order Page Styles
/*---------------------------------------------------------*/

/* Check / Cross Icon Symbols */
.icon-check {
    display: inline-block;
    font-size: 1.1em;
    font-weight: bold;
    margin-right: 6px;
    vertical-align: middle;
}
.icon-check-win { color: #2cb8a5; }
.icon-check-mac { color: #529fbf; }
.icon-cross {
    display: inline-block;
    font-size: 1.1em;
    font-weight: bold;
    color: #e74c3c;
    margin-right: 6px;
    vertical-align: middle;
}

/* Pricing Card: Enhanced Buy Buttons */
#order_price_table .order_content .order_price_btn a {
    display: block;
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    font-size: 18px !important;
    font-weight: 700 !important;
    letter-spacing: 0.06em;
    padding: 17px 36px !important;
    border-radius: 50px;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    color: #fff !important;
    border: none !important;
    background: linear-gradient(135deg, #2cb8a5 0%, #229b8d 100%);
    box-shadow: 0 8px 28px rgba(44,184,165,0.4);
    transition: all 0.3s ease;
}
#order_price_table .order_content .order_price_btn a:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(44,184,165,0.5);
    background: linear-gradient(135deg, #3dd4bf 0%, #2cb8a5 100%) !important;
    color: #fff !important;
}
/* Mac variant */
#order_price_table .order_content .order_price_btn a.btn-mac-buy {
    background: linear-gradient(135deg, #529fbf 0%, #3d8ba8 100%);
    box-shadow: 0 8px 28px rgba(82,159,191,0.4);
}
#order_price_table .order_content .order_price_btn a.btn-mac-buy:hover {
    background: linear-gradient(135deg, #67b4d4 0%, #529fbf 100%) !important;
    box-shadow: 0 12px 40px rgba(82,159,191,0.5);
}

/* Pricing Card: Mac Buy Button (deprecated, kept for compatibility) */
.btn-mac-buy {
    background-color: #529fbf !important;
    border-color: #529fbf !important;
    color: #fff !important;
}

/* Section CTA Buttons Container */
.section-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 30px;
}

/* Section CTA Buy Button (included-section) */
.btn-section-buy {
    display: inline-block;
    text-decoration: none;
    text-align: center;
    color: #fff !important;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.03em;
    padding: 12px 28px;
    border-radius: 50px;
    border: none;
    transition: all 0.3s ease;
    min-width: 220px;
}
/* Windows — green */
.btn-section-win {
    background: linear-gradient(135deg, #2cb8a5 0%, #1a8c7e 100%);
    box-shadow: 0 8px 30px rgba(44,184,165,0.45);
}
.btn-section-win:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(44,184,165,0.55);
    background: linear-gradient(135deg, #3dd4bf 0%, #2cb8a5 100%);
}
/* macOS — blue */
.btn-section-mac {
    background: linear-gradient(135deg, #529fbf 0%, #3d8ba8 100%);
    box-shadow: 0 8px 30px rgba(82,159,191,0.4);
}
.btn-section-mac:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(82,159,191,0.5);
    background: linear-gradient(135deg, #67b4d4 0%, #529fbf 100%);
}
.btn-section-buy:active {
    transform: translateY(-1px);
}

/* Included Section – Full Width */
.included-section {
    background: #f5f5f5;
    border-top: 1px solid #eef2f5;
    border-bottom: 1px solid #eef2f5;
}
.included-platforms { margin-top: 0; }
.included-platforms + .included-platforms { margin-top: 10px; }

.included-item {
    padding: 30px 15px 24px;
    margin-bottom: 16px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: default;
}
.included-item:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transform: translateY(-4px);
    border-color: #2cb8a5;
}
.included-icon {
    margin-bottom: 14px;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.included-icon img {
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.included-item:hover .included-icon img {
    transform: scale(1.12);
}
.included-icon svg { display: block; }
.included-item span {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    display: block;
    line-height: 1.3;
}

/* Comparison Table */
.comparison-section {
    background: #f5f8fa;
    border-top: 1px solid #eef2f5;
    border-bottom: 1px solid #eef2f5;
}
.table-comparison {
    margin-bottom: 0;
    background: #fff;
    table-layout: fixed;
    width: 100%;
}
.table-comparison .col-features { width: 52%; }
.table-comparison .col-trial { width: 20%; }
.table-comparison .col-paid { width: 28%; }
.table-comparison thead th {
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
    font-size: 16px;
    font-weight: 700;
    padding: 18px 24px;
    vertical-align: middle;
    border: 1px solid #e0e0e0;
}
.table-comparison thead th:first-child {
    background: #fff;
    color: #333;
    text-align: left;
    font-size: 16px;
    border-bottom: 2px solid #e0e0e0;
    padding-left: 28px;
}
.table-comparison thead th:nth-child(2) {
    background: #f5f5f5;
    color: #555;
    text-align: center;
    border-bottom: 2px solid #e0e0e0;
}
.table-comparison thead th:nth-child(3) {
    background: #2cb8a5;
    color: #fff;
    text-align: center;
    border-bottom: 2px solid #259f8e;
    font-size: 18px;
    padding: 20px 20px;
}
.table-comparison thead th:nth-child(3)::after {
    content: "★ BEST VALUE";
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.1em;
    margin-top: 4px;
    opacity: 0.85;
}
.table-comparison thead th small {
    font-weight: 400;
    display: block;
    margin-top: 4px;
    font-size: 0.75em;
}
.table-comparison thead th:first-child small { color: #999; }
.table-comparison thead th:nth-child(2) small { color: #999; }
.table-comparison thead th:nth-child(3) small { color: rgba(255,255,255,0.8); }
.table-comparison tbody td {
    font-size: 15px;
    padding: 16px 24px;
    vertical-align: middle;
    font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
    line-height: 1.5;
    border-color: #e8e8e8;
}
.table-comparison tbody td.highlight-col {
    color: #1a8a7a;
    font-size: 16px;
    font-weight: 700;
    background-color: #eafff8;
    padding: 16px 20px;
}
.table-comparison tbody td:nth-child(2) {
    font-size: 14px;
    color: #999;
}
.table-comparison tbody tr td:first-child {
    font-weight: 600;
    color: #333;
    padding-left: 28px;
}
/* Zebra striping */
.table-comparison tbody tr:nth-child(even) {
    background-color: #fafafa;
}
.table-comparison tbody tr:nth-child(odd) {
    background-color: #fff;
}
.table-comparison tbody td .icon-check { font-size: 1.2em; }
.table-comparison tbody td .icon-cross { font-size: 1.2em; }
.table-comparison tbody tr:hover { background-color: #f0faf8; }
.table-comparison tbody tr:hover td.highlight-col {
    background-color: #e0f8ee;
}
.table > thead > tr > th {
    border-color: #e0e0e0;
}
.table > tbody > tr > td {
    border-color: #e8e8e8;
}

/* Comparison CTA Buttons */
.cta-buttons-inline {
    display: flex;
    gap: 12px;
    justify-content: center;
}
.cta-buttons-inline .btn-buy-table {
    flex: 1;
    max-width: 160px;
}
.cta-row td {
    border-top-width: 2px !important;
}
.btn-buy-table {
    display: block;
    width: 100%;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-align: center;
    border-radius: 6px;
    transition: all 0.3s ease;
}
.btn-buy-table:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.btn-buy-table.btn-mac-buy:hover {
    box-shadow: 0 4px 16px rgba(82,159,191,0.3);
}
.btn-buy-table.btn-color:hover {
    box-shadow: 0 4px 16px rgba(44,184,165,0.35);
}

/* Why Choose Items */
.why-item { padding: 25px 20px; }
.why-item h5 { font-size: 15px; letter-spacing: 0.05em; margin-bottom: 12px; color: #333; }
.why-item p { font-size: 14px; color: #7a7a7a; line-height: 1.7; }
.why-icon { transition: transform 0.3s ease; }
.why-icon svg { display: block; margin: 0 auto; }
.why-item:hover .why-icon { transform: scale(1.1); }

/* Footer */
.footer-about-text { color: #7a7a7a; }

/* More Websites Badge */
.more-websites-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #f0faf8 0%, #e8f5f2 100%);
    border: 2px solid #2cb8a5;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(44,184,165,0.12);
    transition: all 0.3s ease;
}
.more-websites-badge:hover {
    box-shadow: 0 6px 28px rgba(44,184,165,0.2);
    transform: translateY(-2px);
}
.more-websites-badge .badge-icon {
    display: flex;
    align-items: center;
    color: #2cb8a5;
    flex-shrink: 0;
}
.more-websites-badge .badge-text {
    font-size: 17px;
    color: #333;
    line-height: 1.5;
}
.more-websites-badge .badge-text strong {
    color: #2cb8a5;
    font-size: 18px;
}

/* Responsive tweaks */
@media (max-width: 767px) {
    /* Remove horizontal scroll — force table to fit */
    .comparison-section .table-responsive {
        overflow-x: visible !important;
        border: none !important;
    }
    /* Table — mobile: 3 columns must all be visible */
    .table-comparison {
        table-layout: fixed;
        width: 100%;
    }
    .table-comparison .col-features { width: 44%; }
    .table-comparison .col-trial   { width: 22%; }
    .table-comparison .col-paid    { width: 34%; }
    .table-comparison thead th {
        font-size: 9px;
        padding: 6px 2px;
        line-height: 1.2;
    }
    .table-comparison thead th:first-child {
        font-size: 9px;
        padding-left: 4px;
        padding-right: 4px;
    }
    .table-comparison thead th:nth-child(2),
    .table-comparison thead th:nth-child(3) {
        font-size: 9px;
        padding: 6px 2px;
    }
    .table-comparison thead th:nth-child(3)::after {
        font-size: 7px;
        letter-spacing: 0;
    }
    .table-comparison thead th small {
        font-size: 0.6em;
        margin-top: 2px;
    }
    .table-comparison tbody td {
        font-size: 10px;
        padding: 6px 3px;
        line-height: 1.3;
        white-space: normal;
        overflow-wrap: anywhere;
        word-wrap: break-word;
    }
    .table-comparison tbody tr td:first-child {
        padding-left: 4px;
        padding-right: 4px;
        font-size: 10px;
        white-space: normal;
        word-break: break-word;
        overflow-wrap: anywhere;
    }
    .table-comparison tbody td.highlight-col {
        font-size: 10px !important;
        padding: 6px 3px !important;
    }
    .table-comparison tbody td:nth-child(2) {
        font-size: 9px;
        padding: 6px 2px;
        text-align: center;
    }
    .table-comparison tbody td .icon-check,
    .table-comparison tbody td .icon-cross {
        font-size: 0.85em;
        margin-right: 2px;
        display: inline;
        vertical-align: middle;
    }
    /* CTA row */
    .cta-row td {
        padding: 6px 2px !important;
    }
    .cta-buttons-inline {
        flex-direction: column;
        gap: 3px;
    }
    .cta-buttons-inline .btn-buy-table {
        max-width: 100%;
        font-size: 9px;
        padding: 5px 2px;
        letter-spacing: 0;
    }
    /* Included items */
    .included-item { padding: 20px 10px 16px; }
    .included-icon { height: 60px; }
    .included-icon img { width: 56px; height: 56px; }
    .included-item span { font-size: 13px; }
    .more-websites-badge {
        padding: 12px 20px;
        border-radius: 40px;
    }
    .more-websites-badge .badge-text { font-size: 14px; }
    .more-websites-badge .badge-text strong { font-size: 15px; }
    .sale_box { margin-top: 20px; }

    /* Enhanced buy buttons — mobile */
    #order_price_table .order_content .order_price_btn a {
        max-width: 100%;
        font-size: 16px !important;
        padding: 14px 20px !important;
    }

    /* Section CTA buy buttons — mobile */
    .section-btns {
        flex-direction: column;
        gap: 10px;
        margin-top: 24px;
    }
    .btn-section-buy {
        display: block;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        font-size: 20px;
        padding: 11px 20px;
        min-width: 0;
    }
}
