/* Packages Page Styles - Professional Design */

.packages-main {
    background: #f5f7f9;
    min-height: calc(100vh - 140px);
    padding: 0;
}

.packages-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

/* Page Header */
.packages-header {
    margin-bottom: 50px;
    text-align: center;
}

.packages-header h1 {
    font-size: 36px;
    font-weight: 700;
    color: #1a2a3a;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.packages-header p {
    font-size: 17px;
    line-height: 1.8;
    color: #596775;
    max-width: 800px;
    margin: 0 auto 25px;
}

.featured-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: 16px;
    margin: 20px auto 25px;
    display: block;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

img.featured-image.app-screenshot {
    width: 220px;
    max-width: 220px;
    border-radius: 16px;
    margin: 15px auto 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.more-info-btn {
    display: inline-block;
    background: linear-gradient(135deg, #4a9a9e 0%, #3d8589 100%);
    color: #fff;
    padding: 14px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 154, 158, 0.3);
}

.more-info-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 154, 158, 0.4);
    text-decoration: none;
}

/* Section Styles */
.package-section {
    margin-bottom: 60px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 22px;
    font-weight: 700;
    color: #1a2a3a;
    margin-bottom: 24px;
    padding-left: 4px;
}

.section-title svg {
    stroke: #4a9a9e;
    flex-shrink: 0;
}

/* Table Styles */
.table-wrapper {
    overflow-x: auto;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.packages-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.packages-table thead tr {
    background: linear-gradient(135deg, #4a9a9e 0%, #5ab0b4 100%);
}

.packages-table th {
    padding: 18px 14px;
    text-align: center;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.packages-table th svg {
    display: block;
    margin: 0 auto 8px;
    opacity: 0.95;
}

.packages-table th span {
    display: block;
}

.packages-table tbody tr {
    transition: background-color 0.2s ease;
}

.packages-table tbody tr:nth-child(odd) {
    background-color: #fff;
}

.packages-table tbody tr:nth-child(even) {
    background-color: #f8fafb;
}

.packages-table tbody tr:hover {
    background-color: #eef6f7;
}

.packages-table td {
    padding: 22px 14px;
    text-align: center;
    color: #4a5568;
    vertical-align: middle;
    font-size: 14px;
}

.network-cell {
    width: 100px;
}

.network-logo {
    width: 70px;
    height: auto;
    opacity: 0.9;
}

.package-name {
    font-weight: 600;
    color: #1a2a3a;
    text-align: left;
    min-width: 180px;
    font-size: 15px;
}

.price-cell {
    min-width: 130px;
}

.price {
    display: block;
    font-size: 26px;
    font-weight: 700;
    color: #d4942e;
    margin-bottom: 10px;
}

.price .rs {
    font-size: 14px;
    font-weight: 600;
}

.subscribe-code {
    display: inline-block;
    background: linear-gradient(135deg, #4a9a9e 0%, #3d8589 100%);
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-family: 'Roboto Mono', 'SF Mono', monospace;
}

/* Mobile Cards */
.mobile-cards {
    display: none;
}

.package-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.card-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1a2a3a;
    margin: 0;
    flex: 1;
    padding-right: 15px;
    line-height: 1.4;
}

.card-logo {
    width: 60px;
    height: auto;
    opacity: 0.85;
}

.card-details {
    margin-bottom: 20px;
    background: #f8fafb;
    border-radius: 12px;
    padding: 16px;
}

.detail-row {
    display: flex;
    gap: 16px;
    margin-bottom: 12px;
}

.detail-row:last-child {
    margin-bottom: 0;
}

.detail-item {
    flex: 1;
}

.detail-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #7a8a9a;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.detail-value {
    display: block;
    font-size: 17px;
    font-weight: 700;
    color: #4a9a9e;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
}

.card-price {
    font-size: 30px;
    font-weight: 700;
    color: #d4942e;
}

.card-price .rs {
    font-size: 16px;
    font-weight: 600;
}

.card-footer .subscribe-code {
    padding: 12px 20px;
    font-size: 14px;
}

/* Info Section - Clean Professional Look */
.packages-container .info-section {
    background: #fff;
    border-radius: 20px;
    margin-top: 60px;
    padding: 50px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}

.packages-container .info-container {
    max-width: 100%;
}

.packages-container .info-content {
    margin-bottom: 40px;
}

.packages-container .info-content:last-child {
    margin-bottom: 0;
}

.packages-container .info-heading {
    font-size: 22px;
    font-weight: 700;
    color: #1a2a3a;
    margin-bottom: 16px;
    padding: 0;
    border: none;
}

.packages-container .info-text {
    font-size: 16px;
    line-height: 1.85;
    color: #4a5568;
    margin-bottom: 12px;
}

.packages-container .info-text:last-child {
    margin-bottom: 0;
}

.packages-container .info-text strong {
    color: #1a2a3a;
    font-weight: 600;
}

.packages-container .step-title {
    font-size: 17px;
    font-weight: 600;
    color: #4a9a9e;
    margin: 28px 0 12px;
    padding: 0;
    border: none;
}

.packages-container .step-title:first-of-type {
    margin-top: 20px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .packages-table th,
    .packages-table td {
        padding: 16px 10px;
        font-size: 13px;
    }

    .network-logo {
        width: 55px;
    }

    .price {
        font-size: 22px;
    }

    .package-name {
        min-width: 140px;
    }

    .packages-container .info-section {
        padding: 40px 30px;
    }
}

@media (max-width: 900px) {
    .table-wrapper {
        display: none;
    }

    .mobile-cards {
        display: block;
    }

    .packages-header {
        text-align: left;
    }

    .packages-header p {
        margin: 0 0 25px;
    }

    .packages-header h1 {
        font-size: 28px;
    }

    .section-title {
        font-size: 19px;
    }

    .packages-container .info-section {
        padding: 30px 24px;
        margin-top: 40px;
        border-radius: 16px;
    }

    .packages-container .info-heading {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .packages-container {
        padding: 25px 16px 50px;
    }

    .packages-header h1 {
        font-size: 24px;
    }

    .packages-header p {
        font-size: 15px;
    }

    .section-title {
        font-size: 17px;
        gap: 10px;
    }

    .section-title svg {
        width: 22px;
        height: 22px;
    }

    .package-card {
        padding: 20px;
        border-radius: 14px;
    }

    .card-header h3 {
        font-size: 16px;
    }

    .card-logo {
        width: 50px;
    }

    .card-details {
        padding: 14px;
    }

    .detail-value {
        font-size: 15px;
    }

    .card-price {
        font-size: 26px;
    }

    .card-footer .subscribe-code {
        padding: 10px 14px;
        font-size: 13px;
    }

    .detail-row {
        flex-direction: column;
        gap: 12px;
    }

    .packages-container .info-section {
        padding: 24px 20px;
    }

    .packages-container .info-heading {
        font-size: 18px;
    }

    .packages-container .info-text {
        font-size: 15px;
    }

    .packages-container .step-title {
        font-size: 16px;
    }
}
