/* Bundle Download Popup Overlay - Enhanced Version */

.bundle-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgb(11 79 156 / 10%) 0%, rgb(0 0 0 / 80%) 100%);
    /* stylelint-disable-next-line property-no-vendor-prefix */
    /* stylelint-disable-next-line property-no-vendor-prefix */
    /* stylelint-disable-next-line property-no-vendor-prefix */
    /* stylelint-disable-next-line property-no-vendor-prefix */
    /* stylelint-disable-next-line property-no-vendor-prefix */
    /* stylelint-disable-next-line property-no-vendor-prefix */
    /* stylelint-disable-next-line property-no-vendor-prefix */
    /* stylelint-disable-next-line property-no-vendor-prefix */
    /* stylelint-disable-next-line property-no-vendor-prefix */
    /* stylelint-disable-next-line property-no-vendor-prefix */
    /* stylelint-disable-next-line property-no-vendor-prefix */
    -webkit-backdrop-filter: blur(12px) saturate(1.2); /* stylelint-disable-line property-no-vendor-prefix */
    backdrop-filter: blur(12px) saturate(1.2);
    z-index: 9998;
    opacity: 0;
    animation: fade-in 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.bundle-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    background: linear-gradient(135deg, rgb(255 255 255 / 95%) 0%, rgb(248 250 252 / 98%) 100%);
    border: 1px solid rgb(255 255 255 / 30%);
    border-radius: 24px;
    box-shadow: 
        0 32px 64px rgb(0 0 0 / 20%),
        0 16px 32px rgb(11 79 156 / 10%),
        0 0 0 1px rgb(255 255 255 / 20%),
        inset 0 1px 0 rgb(255 255 255 / 40%);
    z-index: 9999;
    overflow: hidden;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.85) rotateX(10deg);
    animation: popup-appear 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    /* stylelint-disable-next-line property-no-vendor-prefix */
    /* stylelint-disable-next-line property-no-vendor-prefix */
    /* stylelint-disable-next-line property-no-vendor-prefix */
    /* stylelint-disable-next-line property-no-vendor-prefix */
    /* stylelint-disable-next-line property-no-vendor-prefix */
    /* stylelint-disable-next-line property-no-vendor-prefix */
    /* stylelint-disable-next-line property-no-vendor-prefix */
    /* stylelint-disable-next-line property-no-vendor-prefix */
    /* stylelint-disable-next-line property-no-vendor-prefix */
    /* stylelint-disable-next-line property-no-vendor-prefix */
    /* stylelint-disable-next-line property-no-vendor-prefix */
    -webkit-backdrop-filter: blur(20px); /* stylelint-disable-line property-no-vendor-prefix */
    backdrop-filter: blur(20px);
}

@keyframes fade-in {
    to {
        opacity: 1;
    }
}

@keyframes popup-appear {
    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) rotateX(0deg);
    }
}

.popup-header {
    background: linear-gradient(135deg, var(--qk-accent-blue) 0%, #1a5fa0 50%, #4d82ff 100%);
    color: var(--white);
    padding: 2rem 2.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid var(--qk-accent-orange);
    position: relative;
    overflow: hidden;
}

.popup-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgb(255 255 255 / 20%), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
      left: -100%;
    }

    100% {
      left: 100%;
    }
}

.popup-title {
    margin: 0;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--white);
    text-shadow: 0 2px 4px rgb(0 0 0 / 30%);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.popup-title::before {
    content: "📦";
    font-size: 2rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
      transform: translateY(0);
    }

    40% {
      transform: translateY(-8px);
    }

    60% {
      transform: translateY(-4px);
    }
}

.close-popup {
    background: rgb(255 255 255 / 10%);
    border: 2px solid rgb(255 255 255 / 20%);
    color: var(--white);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 300;
}

.close-popup:hover {
    background: rgb(255 255 255 / 20%);
    border-color: rgb(255 255 255 / 40%);
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 8px 16px rgb(0 0 0 / 20%);
}

.popup-content {
    padding: 2.5rem;
    overflow-y: auto;
    max-height: calc(90vh - 140px);
}

.bundle-access .bundle-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0.78rem 1.5rem;
    margin: 0.25rem 0;
    border-radius: 999px;
    border: 1px solid rgb(249 115 22 / 45%);
    background: linear-gradient(140deg, rgb(249 115 22 / 92%) 0%, rgb(253 186 116 / 88%) 100%);
    color: rgb(15 23 42);
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.bundle-access .bundle-cta.secondary {
    border-color: rgb(148 163 184 / 45%);
    background: linear-gradient(135deg, rgb(30 41 59 / 32%), rgb(51 65 85 / 42%));
    color: rgb(226 232 255 / 92%);
    font-weight: 600;
}

.bundle-access .bundle-cta:hover,
.bundle-access .bundle-cta:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgb(249 115 22 / 38%);
}

.bundle-access .bundle-cta.secondary:hover,
.bundle-access .bundle-cta.secondary:focus-visible {
    box-shadow: 0 16px 32px rgb(9 20 45 / 45%);
    background: linear-gradient(135deg, rgb(51 65 85 / 50%), rgb(71 85 105 / 42%));
}

body.light-mode .bundle-access .bundle-cta {
    border-color: rgb(30 64 175 / 35%);
    color: #0f172a;
    background: linear-gradient(135deg, rgb(239 246 255), rgb(219 234 254));
}

body.light-mode .bundle-access .bundle-cta:hover,
body.light-mode .bundle-access .bundle-cta:focus-visible {
    box-shadow: 0 18px 32px rgb(15 23 42 / 14%);
}

body.light-mode .bundle-access .bundle-cta.secondary {
    color: rgb(51 65 85);
    border-color: rgb(148 163 184 / 60%);
    background: rgb(248 250 252);
}

.bundle-info {
    margin-bottom: 2.5rem;
}

.bundle-info h3 {
    color: var(--qk-accent-blue);
    font-size: 1.5rem;
    margin: 0 0 1rem;
    font-weight: 800;
    text-shadow: 0 1px 2px rgb(11 79 156 / 10%);
}

.bundle-id {
    color: #495057;
    font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.35rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    border-left: 5px solid var(--qk-accent-orange);
    box-shadow: 0 4px 8px rgb(0 0 0 / 8%);
    position: relative;
    overflow: hidden;
    overflow-wrap: anywhere;
}

.bundle-id::before {
    content: "🔑";
    grid-column: 2;
    grid-row: 1;
    position: static;
    font-size: 1.3rem;
    line-height: 1;
    opacity: 0.55;
    justify-self: end;
    filter: drop-shadow(0 4px 10px rgb(249 115 22 / 18%));
}

.bundle-id span {
    overflow-wrap: anywhere;
}

.bundle-details h4 {
    color: var(--qk-accent-blue);
    font-size: 1.25rem;
    margin: 2rem 0 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bundle-details h4::before {
    content: "✨";
    font-size: 1.25rem;
}

.bundle-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
}

.bundle-features li {
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, rgb(248 250 252 / 80%) 0%, rgb(255 255 255 / 90%) 100%);
    border: 1px solid rgb(233 236 239 / 60%);
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.bundle-features li::before {
    content: "📋";
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
    filter: drop-shadow(0 2px 4px rgb(0 0 0 / 10%));
}


/* Move plan-features base block before contextual bundle-features hover to satisfy ordering */
.plan-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    text-align: left;
    position: relative;
    z-index: 2;
}

.plan-features li {
    padding: 0.75rem 0;
    color: #495057;
    font-size: 1rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: color 0.2s ease;
}

.plan-features li::before {
    content: "✓";
    color: var(--qk-accent-orange);
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    background: linear-gradient(135deg, rgb(233 151 90 / 10%) 0%, rgb(233 151 90 / 20%) 100%);
    border-radius: 50%;
    flex-shrink: 0;
}

/* Ordering: base plan item hover must be before contextual card hover */
.plan-features li:hover {
    color: var(--qk-accent-blue);
}

.bundle-features li:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgb(0 0 0 / 10%);
    border-color: var(--qk-accent-orange);
}

.bundle-features li:hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--qk-accent-orange), var(--qk-accent-blue));
}

.pricing-card:hover .plan-features li {
    color: var(--qk-accent-blue);
}

.bundle-features strong {
    color: var(--qk-accent-blue);
    font-weight: 700;
}

.file-format-info {
    background: linear-gradient(180deg, rgb(20 24 35 / 96%) 0%, rgb(25 30 43 / 97%) 100%);
    border: 1px solid rgb(249 115 22 / 20%);
    padding: 1rem;
    border-radius: 16px;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow:
        inset 0 1px 0 rgb(255 255 255 / 3%),
        0 14px 26px rgb(2 6 23 / 16%);
}

.file-format-info::before {
    content: "⇄";
    position: absolute;
    right: 1.4rem;
    top: 1.2rem;
    font-size: 2.3rem;
    color: rgb(249 115 22 / 14%);
    opacity: 0.9;
}

.file-format-info::after {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 2px;
    background: linear-gradient(90deg, rgb(249 115 22 / 92%), rgb(255 188 122 / 70%) 42%, rgb(99 102 241 / 56%) 100%);
}

.file-format-card {
    position: relative;
    z-index: 1;
    padding: 1.3rem 1.35rem 1.15rem;
    border-radius: 18px;
    border: 1px solid rgb(99 102 241 / 16%);
    background:
        linear-gradient(180deg, rgb(15 20 31 / 98%) 0%, rgb(19 26 40 / 97%) 100%),
        radial-gradient(circle at top, rgb(96 165 250 / 8%), transparent 58%);
    box-shadow:
        inset 0 1px 0 rgb(255 255 255 / 4%),
        0 10px 22px rgb(2 6 23 / 18%);
}

.file-format-card h4 {
    color: rgb(96 165 250 / 92%);
    font-size: 1rem;
    margin: 0 0 0.4rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.file-format-card h4::before {
    content: "✦";
    color: var(--qk-accent-orange);
}

.file-format-lead {
    margin: 0 0 0.85rem;
    color: rgb(196 206 221);
    font-size: 0.9rem;
    line-height: 1.5;
}

.bundle-format-label {
    display: block;
    margin-bottom: 0.45rem;
    color: rgb(96 165 250 / 92%);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.bundle-format-select {
    width: 100%;
    min-height: 3.35rem;
    padding: 0.82rem 3rem 0.82rem 1.1rem;
    border-radius: 999px;
    border: 1px solid rgb(99 102 241 / 52%);
    background:
        linear-gradient(180deg, rgb(47 56 76 / 90%) 0%, rgb(54 63 84 / 90%) 100%);
    box-shadow:
        inset 0 1px 0 rgb(255 255 255 / 7%),
        0 6px 14px rgb(2 6 23 / 14%);
    color: rgb(241 245 249);
    font-size: 0.94rem;
    font-weight: 800;
}

.bundle-format-select:focus-visible {
    outline: 0;
    border-color: rgb(96 165 250 / 72%);
    box-shadow:
        0 0 0 4px rgb(96 165 250 / 20%),
        inset 0 1px 0 rgb(255 255 255 / 12%),
        0 10px 20px rgb(2 6 23 / 18%);
}

.format-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin: 0.85rem 0 0.75rem;
}

.format-badge {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.38rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgb(148 163 184 / 16%);
    background: linear-gradient(180deg, rgb(255 255 255 / 6%) 0%, rgb(255 255 255 / 10%) 100%);
    color: rgb(203 213 225);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.format-badge.active {
    border-color: rgb(249 115 22 / 42%);
    background: linear-gradient(135deg, rgb(255 237 213 / 96%) 0%, rgb(255 248 240 / 92%) 100%);
    color: rgb(154 52 18);
}

.file-format-info p {
    margin: 0.4rem 0;
    color: rgb(218 226 237);
    font-size: 0.92rem;
    font-weight: 500;
}

.file-format-helper {
    margin: 0.45rem 0 0.7rem;
    color: rgb(203 213 225);
    font-size: 0.88rem;
    line-height: 1.55;
    max-width: 40rem;
}

.file-format-info strong {
    color: rgb(96 165 250);
    font-weight: 700;
}

body.light-mode .file-format-info {
    background: linear-gradient(135deg, rgb(241 245 249 / 96%) 0%, rgb(255 247 237 / 98%) 100%);
    border-color: rgb(59 130 246 / 18%);
    box-shadow: 0 18px 30px rgb(148 163 184 / 18%);
}

body.light-mode .file-format-info::before {
    color: rgb(37 99 235 / 14%);
}

body.light-mode .file-format-card {
    border-color: rgb(148 163 184 / 26%);
    background:
        linear-gradient(180deg, rgb(255 255 255 / 88%) 0%, rgb(241 245 249 / 94%) 100%),
        linear-gradient(135deg, rgb(255 255 255 / 68%) 0%, rgb(219 234 254 / 42%) 100%);
    box-shadow:
        0 18px 34px rgb(15 23 42 / 10%),
        inset 0 1px 0 rgb(255 255 255 / 72%);
}

body.light-mode .file-format-lead {
    color: rgb(71 85 105);
}

body.light-mode .bundle-format-select {
    border-color: rgb(99 102 241 / 20%);
    background: linear-gradient(180deg, rgb(255 255 255 / 98%) 0%, rgb(239 246 255 / 92%) 100%);
    box-shadow:
        inset 0 1px 0 rgb(255 255 255 / 85%),
        0 10px 24px rgb(59 130 246 / 8%);
    color: rgb(15 23 42);
}

body.light-mode .bundle-format-select:focus-visible {
    border-color: rgb(59 130 246 / 48%);
    box-shadow:
        0 0 0 4px rgb(96 165 250 / 18%),
        inset 0 1px 0 rgb(255 255 255 / 90%),
        0 12px 28px rgb(59 130 246 / 14%);
}

body.light-mode .format-badge {
    border-color: rgb(59 130 246 / 16%);
    background: rgb(255 255 255 / 75%);
    color: rgb(51 65 85);
}

body.light-mode .file-format-info p {
    color: #495057;
}

body.light-mode .file-format-helper {
    color: rgb(71 85 105);
}

@media (width <= 640px) {
    .file-format-card {
        padding: 1.2rem 1rem 1.05rem;
    }

    .bundle-format-select {
        min-height: 3.5rem;
        font-size: 0.96rem;
    }

    .file-format-helper {
        font-size: 0.92rem;
    }
}

.security-indicators {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: linear-gradient(135deg, rgb(34 197 94 / 10%) 0%, rgb(34 197 94 / 20%) 100%);
    color: #059669;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgb(34 197 94 / 20%);
}

.pricing-description {
    color: #6b7280;
    font-size: 0.95rem;
    margin: 1rem 0 1.5rem;
    line-height: 1.5;
}

.value-props {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.value-prop {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 500;
}

.price-period {
    font-size: 1rem;
    font-weight: 500;
    color: #6b7280;
}

/* consolidated purchase button styles are defined later to avoid duplication */

.pricing-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

@media (width <= 640px) {
    .pricing-options {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.pricing-card {
    border: 2px solid rgb(233 236 239 / 60%);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: linear-gradient(135deg, rgb(255 255 255 / 90%) 0%, rgb(248 250 252 / 95%) 100%);
    position: relative;
    overflow: hidden;
    /* stylelint-disable-next-line property-no-vendor-prefix */
    /* stylelint-disable-next-line property-no-vendor-prefix */
    /* stylelint-disable-next-line property-no-vendor-prefix */
    /* stylelint-disable-next-line property-no-vendor-prefix */
    /* stylelint-disable-next-line property-no-vendor-prefix */
    /* stylelint-disable-next-line property-no-vendor-prefix */
    /* stylelint-disable-next-line property-no-vendor-prefix */
    /* stylelint-disable-next-line property-no-vendor-prefix */
    /* stylelint-disable-next-line property-no-vendor-prefix */
    /* stylelint-disable-next-line property-no-vendor-prefix */
    /* stylelint-disable-next-line property-no-vendor-prefix */
    -webkit-backdrop-filter: blur(10px); /* stylelint-disable-line property-no-vendor-prefix */
    backdrop-filter: blur(10px);
}

.pricing-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgb(255 255 255 / 10%) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgb(0 0 0 / 15%),
        0 8px 16px rgb(11 79 156 / 10%);
    border-color: var(--qk-accent-orange);
}

.pricing-card:hover::before {
    opacity: 1;
}

.pricing-card.one-time {
    border-color: rgb(233 151 90 / 30%);
    background: linear-gradient(135deg, rgb(255 255 255 / 90%) 0%, rgb(255 248 240 / 95%) 100%);
}

.pricing-card.one-time:hover {
    border-color: var(--qk-accent-orange);
    box-shadow: 
        0 20px 40px rgb(233 151 90 / 20%),
        0 8px 16px rgb(233 151 90 / 15%);
}

.pricing-card.professional {
    border-color: rgb(11 79 156 / 30%);
    position: relative;
    background: linear-gradient(135deg, rgb(255 255 255 / 90%) 0%, rgb(240 248 255 / 95%) 100%);
}

.pricing-card.professional:hover {
    border-color: var(--qk-accent-blue);
    box-shadow: 
        0 20px 40px rgb(11 79 156 / 20%),
        0 8px 16px rgb(11 79 156 / 15%);
}

.pricing-header {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.pricing-card h3 {
    color: var(--qk-accent-blue);
    font-size: 1.35rem;
    margin: 0 0 1rem;
    font-weight: 800;
    text-shadow: 0 1px 2px rgb(11 79 156 / 10%);
}

.price {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--qk-accent-orange);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgb(233 151 90 / 20%);
    background: linear-gradient(135deg, var(--qk-accent-orange) 0%, #f97316 100%);
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.badge {
    position: absolute;
    top: -12px;
    right: -12px;
    background: linear-gradient(135deg, var(--qk-accent-orange) 0%, #f97316 100%);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 
        0 8px 16px rgb(233 151 90 / 40%),
        0 4px 8px rgb(233 151 90 / 20%);
    animation: pulse 2s infinite;
    z-index: 3;
}

@keyframes pulse {
    0%, 100% {
      transform: scale(1);
    }

    50% {
      transform: scale(1.05);
    }
}

/* (plan-features block relocated earlier) */

.purchase-btn {
    width: 100%;
    padding: 1.25rem 2rem;
    border: none;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1.5rem;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.purchase-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgb(255 255 255 / 30%), transparent);
    transition: left 0.5s ease;
}

.purchase-btn:hover::before {
    left: 100%;
}

.purchase-btn.primary {
    background: linear-gradient(135deg, var(--qk-accent-orange) 0%, #f97316 100%);
    color: var(--white);
    box-shadow: 
        0 8px 20px rgb(233 151 90 / 40%),
        0 4px 8px rgb(233 151 90 / 20%);
    text-shadow: 0 1px 2px rgb(0 0 0 / 20%);
}

.purchase-btn.primary:hover {
    background: linear-gradient(135deg, #f97316 0%, var(--qk-accent-orange) 100%);
    box-shadow: 
        0 12px 28px rgb(233 151 90 / 50%),
        0 6px 12px rgb(233 151 90 / 30%);
    transform: translateY(-3px) scale(1.02);
}

.purchase-btn.secondary {
    background: linear-gradient(135deg, var(--qk-accent-blue) 0%, #1a5fa0 100%);
    color: var(--white);
    box-shadow: 
        0 8px 20px rgb(11 79 156 / 40%),
        0 4px 8px rgb(11 79 156 / 20%);
    text-shadow: 0 1px 2px rgb(0 0 0 / 20%);
}

.purchase-btn.secondary:hover {
    background: linear-gradient(135deg, #1a5fa0 0%, var(--qk-accent-blue) 100%);
    box-shadow: 
        0 12px 28px rgb(11 79 156 / 50%),
        0 6px 12px rgb(11 79 156 / 30%);
    transform: translateY(-3px) scale(1.02);
}

.purchase-btn:active {
    transform: translateY(-1px) scale(0.98);
}

/* Mobile responsive adjustments */
@media (width <= 640px) {
    .bundle-popup {
        width: 95%;
        margin: 1rem;
        max-height: 95vh;
    }
    
    .popup-header {
        padding: 1rem 1.5rem;
    }
    
    .popup-title {
        font-size: 1.3rem;
    }
    
    .popup-content {
        padding: 1.5rem;
    }
    
    .pricing-card {
        padding: 1rem;
    }
    
    .price {
        font-size: 1.5rem;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .bundle-popup {
        background: #1a1a1a;
        color: #e5e5e5;
    }
    
    .file-format-info p {
        color: #e5e5e5;
    }
    
    .pricing-card {
        background: #2a2a2a;
        border-color: #404040;
    }
    
    .pricing-card.professional {
        background: linear-gradient(135deg, #2a2a2a 0%, rgb(11 79 156 / 10%) 100%);
    }
    
    .plan-features li {
        color: #e5e5e5;
    }
    
    .bundle-id {
        background: #2a2a2a;
        color: #e5e5e5;
    }
    
    .file-format-info {
        background: #2a2a2a;
        border-color: #404040;
    }
    
    .bundle-features li {
        border-bottom-color: #404040;
    }
}
