@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;900&family=Plus+Jakarta+Sans:wght@500;600;700;800&display=swap");

:root {
    --swiper-navigation-size: 44px;
    --swiper-theme-color: #007aff;
    --bg-color: #f4f4f9;
    --surface-color: rgba(255, 255, 255, 0.6);
    --surface-strong: rgba(255, 255, 255, 0.82);
    --surface-tint: rgba(27, 43, 124, 0.04);
    --border-color: rgba(0, 0, 0, 0.1);
    --border-soft: rgba(27, 43, 124, 0.10);
    --primary-accent: #1b2b7c;
    --primary-accent-soft: rgba(27, 43, 124, 0.08);
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --text-muted: #8a8a96;
    --gradient-start: #1b2b7c;
    --gradient-end: #2d3f9b;
    --gradient-shimmer: linear-gradient(135deg, #1b2b7c 0%, #2d3f9b 55%, #3b51bf 100%);
    --shadow-soft: 0 6px 24px rgba(27, 43, 124, 0.08);
    --shadow-elevated: 0 18px 48px rgba(27, 43, 124, 0.16);
    --shadow-ring: 0 0 0 4px rgba(27, 43, 124, 0.12);
    --display-font: "Plus Jakarta Sans", "Inter", sans-serif;
    --border-radius: 16px;
    --ease-elegant: cubic-bezier(0.22, 1, 0.36, 1);
}

body {
    font-family: inter, sans-serif !important;
}

.h-decor-1,
.h-decor-2,
.h-decor-3 {
    position: relative;
    padding: 0 !important;
}

/* Prevent overflow in grid containers */
.two-column-layout>* {
    min-width: 0;
    max-width: 100%;
}

@keyframes moveGradient {
    from {
        transform: translate(0, 0) rotate(0deg);
    }

    to {
        transform: translate(100px, 100px) rotate(30deg);
    }
}

.section-pay {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 130px 15px 120px 15px;
}

/* --- Banner Section --- */
.banner {
    border-radius: 16px;
    margin-bottom: 48px;
    box-shadow: 0 8px 28px rgba(27, 43, 124, 0.08);
    overflow: hidden;
    position: relative;
}

.banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* Desktop banner image - shown by default */
.banner .banner-desktop {
    display: block !important;
}

/* Mobile banner image - hidden by default */
.banner .banner-mobile {
    display: none !important;
}

/* --- Two Column Layout --- */
.two-column-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    align-items: start;
    padding: 16px;
    /* Add padding to prevent shadow clipping */
    margin: -16px;
    /* Negative margin to maintain original spacing */
}

.main-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
    /* Prevents overflow */
    gap: 24px;
    overflow: visible;
    /* Allow shadows to show */
}

.sidebar-content {
    position: sticky;
    top: 24px;
    min-width: 0;
    /* Prevents overflow */
}

/* --- Package Selection --- */
.package-section {
    text-align: center;
    width: 100%;
    max-width: 100%;
    overflow: visible;
    /* Allow shadows to show */
}

.package-title {
    font-family: var(--display-font);
    font-weight: 700;
    margin-bottom: 28px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 8px;
}

.package-card {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(27, 43, 124, 0.10);
    border-radius: 14px;
    padding: 56px 20px 22px;
    cursor: pointer;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.package-card:hover {
    transform: translateY(-3px);
    border-color: rgba(27, 43, 124, 0.35);
    box-shadow: 0 10px 28px rgba(27, 43, 124, 0.10);
}

.package-card.selected {
    border-color: var(--primary-accent);
    box-shadow: 0 10px 28px rgba(27, 43, 124, 0.14);
}

.package-card.selected::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary-accent);
}

.package-header {
    margin-bottom: 4px;
    text-align: center;
}

.package-name {
    font-family: var(--display-font);
    font-weight: 700;
    color: var(--text-primary);
    padding: 0 !important;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
    line-height: 1.2;
    font-size: 1.85rem;
}

.package-description {
    color: var(--text-secondary);
    line-height: 1.45;
    padding: 0 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 3.5em;
    font-size: 1.2rem;
    margin: 0;
}

.package-price {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: baseline;
    column-gap: 6px;
    margin: 20px 0 22px;
    padding: 16px 0 18px;
    border-top: 1px solid rgba(27, 43, 124, 0.08);
    border-bottom: 1px solid rgba(27, 43, 124, 0.08);
}

.package-price .currency {
    font-family: var(--display-font);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-accent);
    align-self: flex-start;
    margin-top: 0.55em;
    letter-spacing: -0.01em;
}

.package-price .package-price-value {
    font-family: var(--display-font);
    font-size: 3.4rem;
    font-weight: 700;
    color: var(--primary-accent);
    line-height: 1;
    letter-spacing: -0.035em;
    font-variant-numeric: tabular-nums;
}

.package-price .period {
    flex-basis: 100%;
    text-align: center;
    font-family: "Inter", sans-serif;
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.01em;
    margin-top: 6px;
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.package-features li {
    font-size: 1.25rem;
    padding: 5px 0 5px 22px;
    color: var(--text-secondary);
    position: relative;
    line-height: 1.45;
}

.package-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--primary-accent);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.45;
}

.package-badge-row {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.package-badge,
.package-stock-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.015em;
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.package-badge {
    background: var(--primary-accent);
    color: #fff;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    font-weight: 700;
}

.package-badge-popular {
    margin-left: auto;
}

.package-stock-badge {
    border: 1px solid transparent;
    font-weight: 700;
}

.package-stock-badge.in-stock {
    background: rgba(39, 174, 96, 0.14);
    color: #1d7a43;
    border: 1px solid rgba(39, 174, 96, 0.35);
}

.package-stock-badge.out-of-stock {
    background: rgba(231, 76, 60, 0.14);
    color: #b23428;
    border: 1px solid rgba(231, 76, 60, 0.35);
}

.package-card.package-card-disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.package-card.package-card-disabled:hover {
    transform: none;
    border-color: var(--border-color);
    box-shadow: none;
}

.package-card.package-card-disabled:hover::before {
    transform: scaleX(0);
}

.plan-option-disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.plan-stock-note {
    font-size: 1.2rem;
    font-weight: 600;
    margin-left: 4px;
}

.cta-button.cta-button-disabled,
.cta-button[aria-disabled="true"] {
    opacity: 0.65;
    cursor: not-allowed;
}

/* Hidden radio inputs */
.package-input {
    display: none;
}

/* --- Tab Section Styles --- */
.tab-section {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.tab-navigation {
    display: flex;
    background: #f4f5fa;
    border-radius: 12px 12px 0 0;
    padding: 5px;
    margin-bottom: 0;
    border: 1px solid rgba(27, 43, 124, 0.08);
    border-bottom: none;
}

.tab-navigation input[type="radio"] {
    display: none;
}

.tab-navigation label {
    flex: 1;
    padding: 12px 16px;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--display-font);
    font-weight: 600;
    font-size: 1.3rem;
    transition: color 0.2s ease, background 0.2s ease;
    color: var(--text-secondary);
}

.tab-navigation input[type="radio"]:checked+label {
    background: var(--primary-accent);
    color: white;
}

.tab-content {
    background: #ffffff;
    border: 1px solid rgba(27, 43, 124, 0.08);
    border-top: none;
    border-radius: 0 0 12px 12px;
    padding: 26px;
    min-height: 200px;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.info-content h3 {
    font-family: var(--display-font);
    font-weight: 800;
    font-size: 1.55rem;
    margin-bottom: 14px;
    color: var(--text-primary);
    letter-spacing: -0.015em;
    padding: 0 !important;
}

.info-content p {
    line-height: 1.65;
    color: var(--text-secondary);
    margin-bottom: 14px;
    font-size: 1.35rem;
}

.info-content .terms-title {
    font-family: var(--display-font);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--text-primary);
    margin-bottom: 12px;
    margin-top: 22px;
    letter-spacing: -0.01em;
}

.info-content ul li {
    font-size: 1.3rem;
}

.info-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-content ul li {
    padding: 6px 0;
    color: var(--text-secondary);
    position: relative;
    padding-left: 20px;
    line-height: 1.5;
}

.info-content ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-accent);
    font-weight: bold;
}

.info-content .link {
    color: var(--primary-accent);
    text-decoration: none;
}

.info-content .link:hover {
    text-decoration: underline;
}

/* --- Share Button --- */
.share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--primary-accent);
    border: none;
    border-radius: 12px;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(27, 43, 124, 0.3);
    transition: all 0.3s ease;
    margin-left: 16px;
}

.share-button:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(27, 43, 124, 0.4);
}

/* --- Enhanced Share Modal with Mobile Responsiveness --- */
.share-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.share-modal.show {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.share-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.share-modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    max-width: 480px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
    z-index: 1;
}

.share-modal.show .share-modal-content {
    transform: scale(1) translateY(0);
}

.share-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 24px 16px;
    border-bottom: 1px solid #f0f0f0;
}

.share-modal-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--display-font);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.015em;
    color: #1a1a1a;
}

.share-modal-title i {
    color: var(--primary-accent);
    font-size: 18px;
}

.share-modal-close {
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #666;
}

.share-modal-close:hover {
    background: #e0e0e0;
    color: #333;
}

.share-package-info {
    padding: 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #f7f8fc;
    border: 1px solid rgba(27, 43, 124, 0.08);
    margin: 16px 24px 0;
    border-radius: 12px;
}

.share-package-icon {
    background: var(--primary-accent);
    border-radius: 10px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    flex-shrink: 0;
}

.share-package-icon .platform-icon {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 8px;
}

.share-package-details h3 {
    margin: 0 0 8px 0;
    font-family: var(--display-font);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.015em;
    color: var(--text-primary);
    line-height: 1.3;
    padding: 0 !important;
}

.share-package-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.share-package-duration {
    background: var(--primary-accent);
    color: white;
    padding: 4px 11px;
    border-radius: 999px;
    font-family: var(--display-font);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.share-package-price {
    font-family: var(--display-font);
    font-size: 16px;
    font-weight: 800;
    color: var(--primary-accent);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.015em;
}

.share-package-description {
    margin: 0;
    font-size: 14px;
    color: #666;
    line-height: 1.4;
}

.share-question {
    padding: 22px 24px 14px;
    font-family: var(--display-font);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: -0.005em;
}

.share-question i {
    color: var(--primary-accent);
}

.share-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 0 24px 24px;
}

.share-option {
    background: #ffffff;
    border: 1px solid rgba(27, 43, 124, 0.10);
    border-radius: 12px;
    padding: 14px 12px;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.share-option:hover {
    border-color: var(--primary-accent);
    box-shadow: 0 6px 16px rgba(27, 43, 124, 0.10);
    transform: translateY(-2px);
}

.share-option-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
}

.share-option-icon.whatsapp {
    background: #25d366;
}

.share-option-icon.telegram {
    background: #0088cc;
}

.share-option-icon.line {
    background: #00b900;
}

.share-option-icon.twitter {
    background: #1da1f2;
}

.share-option-icon.email {
    background: #ea4335;
}

.share-option-icon.copy {
    background: #6c757d;
}

.share-option-label {
    font-size: 12px;
    font-weight: 500;
    color: #333;
    text-align: center;
}

/* Mobile Responsive Design for Share Modal */
@media (max-width: 768px) {
    .share-modal-content {
        width: 95%;
        margin: 20px;
        max-height: 85vh;
    }

    .share-modal-header {
        padding: 20px 20px 12px;
    }

    .share-modal-title {
        font-size: 18px;
    }

    .share-package-info {
        padding: 20px;
        margin: 0 20px;
        margin-top: 12px;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }

    .share-package-icon {
        width: 64px;
        height: 64px;
        margin-right: 0;
        margin-bottom: 8px;
    }

    .share-package-icon .platform-icon {
        width: 40px;
        height: 40px;
    }

    .share-package-details h3 {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .share-package-meta {
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }

    .share-question {
        padding: 20px 20px 12px;
        font-size: 15px;
    }

    .share-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        padding: 0 20px 20px;
    }

    .share-option {
        padding: 14px 10px;
    }

    .share-option-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .share-option-label {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .share-modal-content {
        width: 98%;
        margin: 10px;
        border-radius: 12px;
    }

    .share-modal-header {
        padding: 16px 16px 10px;
    }

    .share-modal-title {
        font-size: 16px;
        gap: 8px;
    }

    .share-modal-close {
        width: 32px;
        height: 32px;
    }

    .share-package-info {
        padding: 16px;
        margin: 0 16px;
        margin-top: 10px;
    }

    .share-package-icon {
        width: 56px;
        height: 56px;
    }

    .share-package-icon .platform-icon {
        width: 36px;
        height: 36px;
    }

    .share-package-details h3 {
        font-size: 15px;
    }

    .share-package-duration {
        font-size: 11px;
        padding: 3px 10px;
    }

    .share-package-price {
        font-size: 14px;
    }

    .share-question {
        padding: 16px 16px 10px;
        font-size: 14px;
    }

    .share-options {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 16px 16px;
    }

    .share-option {
        padding: 12px 8px;
        border-radius: 10px;
    }

    .share-option-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .share-option-label {
        font-size: 10px;
    }
}

@media (max-width: 360px) {
    .share-options {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .share-option {
        flex-direction: row;
        justify-content: flex-start;
        padding: 12px 16px;
        gap: 12px;
        text-align: left;
    }

    .share-option-label {
        font-size: 12px;
        text-align: left;
    }
}

/* Cart styles have been moved to style.css for better organization */

/* Mobile/Desktop Price Details Visibility */
.price-details-mobile {
    display: none;
}

/* --- Staggered Fade-in Animation --- */
.fade-in {
    opacity: 1;
    /* Start visible to prevent blank sections */
    transform: translateY(0);
    /* Start in final position */
    animation: fadeInSmooth 0.6s ease-out forwards;
}

@keyframes fadeInSmooth {
    from {
        opacity: 0.3;
        /* Start slightly visible instead of completely hidden */
        transform: translateY(10px);
        /* Reduced movement */
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container>* {
    margin-bottom: 48px;
}

.fade-in:nth-child(1) {
    animation-delay: 0.05s;
    /* Reduced delays */
}

.fade-in:nth-child(2) {
    animation-delay: 0.1s;
}

.fade-in:nth-child(3) {
    animation-delay: 0.15s;
}

.fade-in:nth-child(4) {
    animation-delay: 0.2s;
}

/* Disable animations for users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .fade-in {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* --- Hero Section --- */
.hero {
    text-align: center;
    padding: 40px 0;
}

.hero h1 {
    font-weight: 900;
    background: linear-gradient(90deg,
            var(--gradient-start),
            var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
}

.hero p {
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

/* --- Glassmorphism Card Style --- */
.glass-card {
    background: #ffffff;
    border: 1px solid rgba(27, 43, 124, 0.10);
    border-radius: 14px;
    padding: 28px;
    box-shadow: 0 8px 24px rgba(27, 43, 124, 0.06);
}

/* --- Plan Selector --- */
.plan-selector fieldset {
    border: none;
}

.plan-selector legend {
    font-family: var(--display-font);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 18px;
    text-align: center;
    color: var(--text-primary);
    letter-spacing: -0.015em;
}

.plan-options {
    display: flex;
    background: #f4f5fa;
    border-radius: 12px;
    padding: 5px;
    gap: 4px;
    border: 1px solid rgba(27, 43, 124, 0.06);
}

.plan-options input[type="radio"] {
    display: none;
}

.plan-options label {
    flex: 1;
    padding: 12px 10px;
    text-align: center;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--display-font);
    font-weight: 600;
    font-size: 1.3rem;
    color: var(--text-secondary);
    transition: color 0.2s ease, background 0.2s ease;
}

.plan-options label:hover {
    color: var(--primary-accent);
}

.plan-options input[type="radio"]:checked+label {
    background: var(--primary-accent);
    color: #ffffff;
}

/* --- Price Details --- */
.price-details-header {
    font-family: var(--display-font);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 18px;
    color: var(--text-primary);
    letter-spacing: -0.015em;
}

.price-breakdown {
    border-top: 1px solid rgba(27, 43, 124, 0.08);
    padding-top: 18px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 1.25rem;
}

.price-item .label {
    color: var(--text-secondary);
}

.price-item > span:last-child {
    font-family: var(--display-font);
    font-weight: 600;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

/* --- CTA Section --- */
.cta-section {
    background: #ffffff;
    border: 1px solid rgba(27, 43, 124, 0.10);
    border-radius: 14px;
    padding: 24px;
    margin-top: 20px;
    box-shadow: 0 8px 24px rgba(27, 43, 124, 0.06);
}

.cta-content {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(27, 43, 124, 0.08);
}

.button-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 10px;
}

.secondary-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 14px;
    border: 1px solid rgba(27, 43, 124, 0.25);
    background: #ffffff;
    color: var(--primary-accent);
    border-radius: 10px;
    font-family: var(--display-font);
    font-weight: 600;
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.secondary-button:hover {
    background: var(--primary-accent);
    color: white;
    border-color: var(--primary-accent);
}

.total-price {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.total-price .label {
    color: var(--text-muted);
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.total-price .amount {
    font-family: var(--display-font);
    font-weight: 700;
    font-size: 2.1rem;
    line-height: 1.1;
    letter-spacing: -0.025em;
    color: var(--primary-accent);
    font-variant-numeric: tabular-nums;
}

.cta-button {
    padding: 13px 18px;
    border: none;
    border-radius: 10px;
    background: var(--primary-accent);
    color: #ffffff;
    font-family: var(--display-font);
    font-weight: 600;
    font-size: 1.3rem;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
}

.cta-button:hover {
    background: #16236a;
}

.cta-button:active {
    transform: translateY(1px);
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    .section-pay {
        padding: 40px 15px 35px 15px;
    }

    .two-column-layout {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 12px;
        /* Reduce padding on tablet */
        margin: -12px;
        /* Adjust negative margin */
    }

    .main-content {
        gap: 32px;
    }

    .sidebar-content {
        position: static;
        order: 2;
        /* Move price details after benefits on tablet */
    }

    /* Show mobile price details, hide desktop version on tablet */
    .price-details-mobile {
        display: block;
    }

    .sidebar-content .price-details {
        display: none;
    }

    /* Switch to mobile banner image on tablet and below */
    .banner .banner-desktop {
        display: none !important;
    }

    .banner .banner-mobile {
        display: block !important;
    }

    .glass-card {
        padding: 24px;
    }

    .banner {
        margin-bottom: 24px;
    }
}

@media (max-width: 600px) {
    body {
        padding: 0;
    }

    .section-pay {
        padding: 80px 15px 25px 15px;
        /* Extra space for floating footer */
    }

    /* Ensure mobile banner image stays visible on mobile */
    .banner .banner-desktop {
        display: none !important;
    }

    .banner .banner-mobile {
        display: block !important;
    }

    .two-column-layout {
        gap: 12px;
        padding: 8px;
        /* Further reduce padding on mobile */
        margin: -8px;
        /* Adjust negative margin */
    }

    .main-content {
        gap: 24px;
    }

    .glass-card {
        padding: 20px;
    }

    .package-title {
        margin-bottom: 24px;
    }

    .package-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .package-card {
        padding: 48px 14px 18px;
    }

    .package-name {
        font-size: 1.65rem;
    }

    .package-description {
        font-size: 1.1rem;
        min-height: 3.2em;
    }

    .package-badge-row {
        top: 10px;
        left: 10px;
        right: 10px;
        gap: 6px;
    }

    .package-badge,
    .package-stock-badge {
        font-size: 0.85rem;
        padding: 4px 9px;
    }

    .package-badge {
        font-size: 0.75rem;
    }

    .package-price {
        padding: 14px 0 14px;
        margin: 16px 0 18px;
        column-gap: 5px;
    }

    .package-price .currency {
        font-size: 1.2rem;
        margin-top: 0.5em;
    }

    .package-price .package-price-value {
        font-size: 2.6rem;
        letter-spacing: -0.03em;
    }

    .package-price .period {
        font-size: 1rem;
        margin-top: 4px;
    }

    .package-features li {
        padding: 4px 0 4px 20px;
        line-height: 1.4;
        font-size: 1.1rem;
    }

    .benefits-title {
        margin-bottom: 24px;
    }

    .benefits-list {
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 100%;
    }

    .benefit-item {
        padding: 16px 14px;
        min-height: 55px;
    }

    .button-row {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .secondary-button {
        padding: 10px 12px;
    }

    /* Show mobile price details, hide desktop version on mobile */
    .price-details-mobile {
        display: block;
    }

    .sidebar-content .price-details {
        display: none;
    }

    /* Tab section mobile styles */
    .tab-navigation label {
        padding: 10px 12px;
    }

    .tab-content {
        padding: 20px;
    }

    .info-content ul li {
        padding-left: 16px;
    }

    /* Plan selector mobile styles - 2 items per row */
    .plan-options {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }

    .plan-options label {
        padding: 12px 8px !important;
        font-size: 1.25rem !important;
    }

    .banner {
        margin-bottom: 16px;
    }
}

@media (max-width: 420px) {
    .package-grid {
        gap: 10px;
    }

    .package-card {
        padding: 46px 12px 16px;
    }

    .package-badge,
    .package-stock-badge {
        font-size: 0.8rem;
        padding: 4px 8px;
    }

    .package-name {
        font-size: 1.5rem;
    }

    .package-description {
        font-size: 1rem;
        min-height: 2.9em;
        -webkit-line-clamp: 2;
    }

    .package-price {
        padding: 12px 0 12px;
        margin: 14px 0 16px;
        column-gap: 5px;
    }

    .package-price .currency {
        font-size: 1.1rem;
        margin-top: 0.5em;
    }

    .package-price .package-price-value {
        font-size: 2.2rem;
    }

    .package-price .period {
        font-size: 0.95rem;
    }

    .package-features li:nth-child(n + 4) {
        display: none;
    }

    .plan-options {
        grid-template-columns: 1fr !important;
    }
}

/* Loading Placeholder */
.loading-placeholder {
    color: #888;
    font-style: italic;
    text-align: center;
    padding: 20px;
    opacity: 0.7;
}

/* Banner Styling */
.banner img {
    transition: opacity 0.3s ease;
    min-height: 200px;
    background-color: #f0f0f0;
}

.banner img[src=""] {
    opacity: 0;
}
