/* Package details page styles */

.pkgd-page {
    background: #ffffff;
    padding-bottom: 86px;
}

.pkgd-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 16px;
}

.pkgd-hero {
    position: relative;
    padding: 56px 0 26px;
    overflow: hidden;
}

.pkgd-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 15%, rgba(168,85,247,0.35), transparent 55%),
        radial-gradient(circle at 85% 35%, rgba(236,72,153,0.28), transparent 55%),
        radial-gradient(circle at 55% 85%, rgba(59,130,246,0.25), transparent 60%),
        linear-gradient(120deg, rgba(2,6,23,0.95), rgba(17,24,39,0.88));
    opacity: 1;
}

.pkgd-hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 28px;
    align-items: start;
}

.pkgd-hero-left {
    padding-top: 10px;
}

.pkgd-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    color: #f8fafc;
}

.pkgd-title {
    margin: 14px 0 6px;
    font-size: clamp(28px, 3.6vw, 46px);
    line-height: 1.06;
    font-weight: 800;
    color: #ffffff;
}

.pkgd-subtitle {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: rgba(226,232,240,0.88);
    max-width: 560px;
}

.pkgd-stats {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
}

.pkgd-stat {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.10);
    color: rgba(226,232,240,0.92);
    font-size: 13px;
    font-weight: 600;
}

.pkgd-stat-icon {
    width: 28px;
    height: 28px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(168,85,247,0.20);
    color: #d8b4fe;
}

.pkgd-hero-right {
    position: relative;
}

.pkgd-media-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 18px 50px rgba(0,0,0,0.35);
}

.pkgd-media {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04));
    height: 210px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pkgd-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pkgd-media-fallback {
    width: 100%;
    height: 100%;
}

.pkgd-play {
    position: absolute;
    inset: 0;
    background: rgba(2,6,23,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    text-decoration: none;
}

.pkgd-play i {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.92);
    color: #0f172a;
    box-shadow: 0 18px 45px rgba(0,0,0,0.35);
}

.pkgd-price-row {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pkgd-prices {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.pkgd-offer {
    font-size: 24px;
    font-weight: 850;
    color: #fb7185;
}

.pkgd-mrp {
    font-size: 16px;
    color: rgba(226,232,240,0.70);
    text-decoration: line-through;
}

.pkgd-buy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 12px;
    background: #facc15;
    color: #111827;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    border: 1px solid rgba(0,0,0,0.10);
}

.pkgd-includes {
    margin-top: 14px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 18px;
    padding: 14px;
}

.pkgd-card-title {
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
    font-size: 16px;
}

.pkgd-include-list {
    display: grid;
    gap: 10px;
    font-size: 14px;
    color: rgba(226,232,240,0.88);
}

.pkgd-include-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pkgd-include-icon {
    width: 28px;
    height: 28px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(59,130,246,0.18);
    color: #93c5fd;
}

.pkgd-section {
    background: #f6f7fb;
    color: #0f172a;
    padding: 26px 0 56px;
}

.pkgd-content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 22px;
    align-items: start;
}

.pkgd-content,
.pkgd-certificate {
    background: #ffffff;
    border: 1px solid rgba(226,232,240,0.95);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 16px 36px rgba(15,23,42,0.08);
}

.pkgd-h2 {
    margin: 0 0 14px;
    font-size: 18px;
    font-weight: 850;
    color: #0f172a;
}

.pkgd-h3 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 850;
    color: #0f172a;
}

.pkgd-block {
    margin-bottom: 14px;
}

.pkgd-label {
    font-size: 13px;
    color: #334155;
    font-weight: 800;
    margin-bottom: 6px;
}

.pkgd-text {
    font-size: 14px;
    line-height: 1.75;
    color: #334155;
}

.pkgd-courses {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.pkgd-course {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(226,232,240,0.95);
    background: #ffffff;
}

.pkgd-course-thumb {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    overflow: hidden;
    background: #f1f5f9;
    flex: 0 0 54px;
}

.pkgd-course-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pkgd-course-thumb-fallback {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top left, rgba(99,102,241,0.18), rgba(241,245,249,1));
}

.pkgd-course-name {
    font-weight: 800;
    color: #0f172a;
    font-size: 14px;
}

.pkgd-ol {
    margin: 0;
    padding-left: 18px;
    color: #334155;
}

.pkgd-aside {
    position: sticky;
    top: 90px;
}

.pkgd-certificate-grid {
    margin-top: 10px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
}

.pkgd-ul {
    margin: 0;
    padding-left: 18px;
    color: #334155;
    line-height: 1.7;
}

.pkgd-certificate-preview {
    border-radius: 16px;
    border: 1px solid rgba(226,232,240,0.95);
    overflow: hidden;
    background: radial-gradient(circle at top left, rgba(168,85,247,0.14), rgba(255,255,255,1));
    height: 180px;
}

.pkgd-certificate-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: #ffffff;
}

.pkgd-sticky-cta {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    background: rgba(10, 10, 18, 0.78);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255,255,255,0.14);
}

.pkgd-sticky-cta-inner {
    padding: 12px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.pkgd-sticky-prices {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.pkgd-sticky-offer {
    font-size: 22px;
    font-weight: 900;
    color: #ff4d5a;
    letter-spacing: 0.2px;
}

.pkgd-sticky-mrp {
    font-size: 16px;
    color: rgba(255,255,255,0.72);
    text-decoration: line-through;
}

.pkgd-sticky-buy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: 999px;
    background: #facc15;
    color: #111827;
    font-weight: 900;
    text-decoration: none;
    white-space: nowrap;
}

.pkgd-sticky-buy i {
    transition: transform 0.25s ease;
}

.pkgd-sticky-buy:hover i {
    transform: translateX(4px);
}

/* Prevent overlap with bottom sticky CTA on this page */
.dm-scroll-top {
    bottom: 104px !important;
}

.pkgd-empty {
    padding: 48px 0 70px;
    background: #0b0b10;
}

.pkgd-empty-card {
    max-width: 520px;
    margin: 0 auto;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 18px;
    padding: 18px;
    text-align: center;
}

.pkgd-empty-title {
    margin: 0;
    font-size: 22px;
    color: #ffffff;
}

.pkgd-empty-sub {
    margin: 8px 0 0;
    color: rgba(226,232,240,0.85);
    font-size: 14px;
}

.pkgd-back {
    margin-top: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 12px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.14);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
}

@media (max-width: 980px) {
    .pkgd-hero-inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .pkgd-content-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .pkgd-aside {
        position: static;
    }
}

@media (max-width: 560px) {
    .pkgd-hero {
        padding-top: 68px;
    }

    .pkgd-media {
        height: 200px;
    }

    .pkgd-price-row {
        flex-direction: column;
        align-items: stretch;
    }

    .pkgd-buy {
        width: 100%;
    }

    .pkgd-courses {
        grid-template-columns: minmax(0, 1fr);
    }

    .pkgd-sticky-offer {
        font-size: 20px;
    }

    .pkgd-sticky-buy {
        padding: 11px 16px;
    }

    .pkgd-sticky-cta-inner {
        padding-left: 22px;
        padding-right: 22px;
    }
}

@media (max-width:480px){
    .dm-scroll-top{bottom:100px !important;}
}
