/* ========================================
   SUBSCRIPTION PAGE SPECIFIC STYLES
   ======================================== */

/* Mobile Wallet Button */
.mobile-wallet-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border: 1px solid rgba(59, 130, 246, 0.5);
    border-radius: 0.75rem;
    color: white;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
}

.mobile-wallet-btn:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

/* Subscription Status Container */
.subscription-status-container {
    max-width: 900px;
    margin: 0 auto;
}

.subscription-status-card {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 58, 138, 0.8) 100%);
    border: 1px solid rgba(59, 130, 246, 0.4);
    border-radius: 1.5rem;
    padding: 1.5rem;
    backdrop-filter: blur(20px);
}

.status-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.status-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 215, 0, 0.05) 100%);
    border: 1px solid rgba(255, 215, 0, 0.5);
    border-radius: 0.75rem;
    color: #FFD700;
    flex-shrink: 0;
}

.status-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #FFFFFF;
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 0.25rem;
}

.status-subtitle {
    font-size: 0.85rem;
    color: rgba(148, 163, 184, 0.7);
}

.status-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.status-tier {
    font-size: 1.5rem;
    font-weight: 900;
    font-family: 'Orbitron', sans-serif;
    color: #FFD700;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    text-align: center;
}

.status-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.status-detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 0.75rem;
}

.status-label {
    font-size: 0.75rem;
    color: rgba(148, 163, 184, 0.7);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-value {
    font-size: 1rem;
    font-weight: 700;
    color: #FFFFFF;
}

.status-value.gold {
    color: #FFD700;
}

/* Subscription Tiers Grid */
.subscription-tiers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Subscription Tier Card */
.subscription-tier-card {
    position: relative;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 1.5rem;
    padding: 1.5rem;
    backdrop-filter: blur(20px);
    transition: all 0.4s ease;
    overflow: hidden;
}

.subscription-tier-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.subscription-tier-card:hover {
    transform: translateY(-5px);
    border-color: #60A5FA;
    box-shadow: 0 15px 50px rgba(59, 130, 246, 0.4);
}

.subscription-tier-card:hover::before {
    opacity: 1;
}

.subscription-tier-card.featured {
    border-color: #FFD700;
    background: rgba(15, 23, 42, 0.95);
}

.subscription-tier-card.featured:hover {
    box-shadow: 0 20px 60px rgba(255, 215, 0, 0.4), 0 0 40px rgba(59, 130, 246, 0.3);
}

/* Popular Tag */
.popular-tag {
    position: absolute;
    top: 1.5rem;
    right: -2rem;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #0F172A;
    padding: 0.4rem 2.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    transform: rotate(45deg);
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.5);
    z-index: 10;
}

/* Tier Badge */
.tier-badge {
    position: relative;
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(59, 130, 246, 0.1) 100%);
    border: 1px solid rgba(59, 130, 246, 0.5);
    border-radius: 0.5rem;
    color: #60A5FA;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.tier-badge.starter {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(16, 185, 129, 0.1) 100%);
    border-color: rgba(16, 185, 129, 0.5);
    color: #10B981;
}

.tier-badge.professional {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 215, 0, 0.1) 100%);
    border-color: rgba(255, 215, 0, 0.5);
    color: #FFD700;
}

.tier-badge.advanced {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3) 0%, rgba(59, 130, 246, 0.1) 100%);
    border-color: rgba(59, 130, 246, 0.6);
    color: #3B82F6;
}

.tier-badge.elite {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2) 0%, rgba(168, 85, 247, 0.1) 100%);
    border-color: rgba(168, 85, 247, 0.5);
    color: #A855F7;
}

.tier-badge.vip {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3) 0%, rgba(168, 85, 247, 0.2) 100%);
    border: 1px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.tier-badge.vip::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 0.5rem;
    padding: 1px;
    background: linear-gradient(135deg, #FFD700, #A855F7);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

/* Tier Header */
.tier-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
}

.tier-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2) 0%, rgba(59, 130, 246, 0.05) 100%);
    border: 2px solid rgba(59, 130, 246, 0.5);
    border-radius: 1rem;
    color: #60A5FA;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.tier-icon.gold {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 215, 0, 0.05) 100%);
    border-color: rgba(255, 215, 0, 0.5);
    color: #FFD700;
}

.tier-icon.blue {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3) 0%, rgba(59, 130, 246, 0.1) 100%);
    border-color: rgba(59, 130, 246, 0.6);
    color: #3B82F6;
}

.tier-icon.purple {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2) 0%, rgba(168, 85, 247, 0.05) 100%);
    border-color: rgba(168, 85, 247, 0.5);
    color: #A855F7;
}

.tier-icon.vip-gradient {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3) 0%, rgba(168, 85, 247, 0.2) 100%);
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.tier-icon.vip-gradient::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    padding: 2px;
    background: linear-gradient(135deg, #FFD700, #A855F7);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.subscription-tier-card:hover .tier-icon {
    transform: scale(1.1) rotate(5deg);
}

.tier-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #FFFFFF;
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 0.5rem;
    text-align: center;
}

.tier-range {
    font-size: 0.95rem;
    color: rgba(148, 163, 184, 0.8);
    font-weight: 600;
    text-align: center;
}

/* Tier Pricing */
.tier-pricing {
    text-align: center;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, transparent 100%);
    border-radius: 1rem;
    margin-bottom: 1.5rem;
}

.tier-fee {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

.fee-amount {
    font-size: 2.5rem;
    font-weight: 900;
    color: #FFD700;
    font-family: 'Orbitron', sans-serif;
    line-height: 1;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
}

.fee-period {
    font-size: 0.95rem;
    color: rgba(148, 163, 184, 0.8);
    font-weight: 500;
}

/* Tier Features */
.tier-features {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 0.5rem;
    color: rgba(148, 163, 184, 0.9);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: #60A5FA;
    transform: translateX(3px);
}

.feature-item svg {
    color: #10B981;
    flex-shrink: 0;
}

/* Subscribe Button */
.tier-subscribe-btn {
    width: 100%;
    padding: 0.9rem;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border: 1px solid rgba(59, 130, 246, 0.5);
    border-radius: 0.75rem;
    color: white;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tier-subscribe-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tier-subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 35px rgba(59, 130, 246, 0.5);
    border-color: #60A5FA;
}

.tier-subscribe-btn:hover::before {
    opacity: 1;
}

.tier-subscribe-btn.gold {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    border-color: rgba(255, 215, 0, 0.5);
    color: #0F172A;
}

.tier-subscribe-btn.gold:hover {
    box-shadow: 0 10px 35px rgba(255, 215, 0, 0.5);
}

.tier-subscribe-btn.blue {
    background: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    border-color: rgba(59, 130, 246, 0.6);
}

.tier-subscribe-btn.blue:hover {
    box-shadow: 0 10px 35px rgba(59, 130, 246, 0.6);
}

.tier-subscribe-btn.purple {
    background: linear-gradient(135deg, #A855F7 0%, #9333EA 100%);
    border-color: rgba(168, 85, 247, 0.5);
}

.tier-subscribe-btn.purple:hover {
    box-shadow: 0 10px 35px rgba(168, 85, 247, 0.5);
}

.tier-subscribe-btn.vip-gradient-btn {
    background: linear-gradient(135deg, #FFD700 0%, #A855F7 100%);
    border-color: rgba(255, 215, 0, 0.5);
    color: #0F172A;
}

.tier-subscribe-btn.vip-gradient-btn:hover {
    box-shadow: 0 10px 35px rgba(255, 215, 0, 0.4), 0 0 35px rgba(168, 85, 247, 0.4);
}

/* Benefits Section */
.benefits-section {
    padding: 1.5rem 0;
}

.benefit-card {
    padding: 1.5rem;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 1.25rem;
    text-align: center;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: #FFD700;
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.2);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.benefit-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.65rem;
}

.benefit-description {
    font-size: 0.9rem;
    color: rgba(148, 163, 184, 0.8);
    line-height: 1.6;
}

/* Modal Styles - Enhanced for Mobile */
.subscription-modal {
    max-width: 550px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
    margin: 1rem;
}

.modal-plan-info {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, transparent 100%);
    border-radius: 1rem;
    margin-bottom: 1.5rem;
}

.modal-plan-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 215, 0, 0.1) 100%);
    border: 1px solid rgba(255, 215, 0, 0.5);
    border-radius: 0.5rem;
    color: #FFD700;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.modal-plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 0.5rem;
}

.modal-plan-roi {
    font-size: 1rem;
    color: rgba(148, 163, 184, 0.8);
}

.modal-summary {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 0.75rem;
}

.summary-label {
    font-size: 0.9rem;
    color: rgba(148, 163, 184, 0.8);
    font-weight: 500;
}

.summary-value {
    font-size: 1rem;
    font-weight: 700;
    color: #FFFFFF;
}

.summary-value.gold {
    color: #FFD700;
}

/* Modal Note */
.modal-note {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
}

.modal-note svg {
    color: #60A5FA;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.modal-note p {
    font-size: 0.85rem;
    color: rgba(148, 163, 184, 0.9);
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .subscription-tiers-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 1.25rem;
    }
}

@media (max-width: 768px) {
    /* Status Card */
    .subscription-status-card {
        padding: 1.25rem;
    }

    .status-header {
        flex-direction: row;
        align-items: center;
        gap: 0.75rem;
    }

    .status-icon {
        width: 2.5rem;
        height: 2.5rem;
    }

    .status-title {
        font-size: 1.1rem;
    }

    .status-tier {
        font-size: 1.25rem;
    }

    .status-details {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .status-detail-item {
        padding: 0.85rem;
    }

    /* Tier Cards */
    .subscription-tier-card {
        padding: 1.25rem;
    }

    .tier-icon {
        width: 3.5rem;
        height: 3.5rem;
    }

    .tier-icon svg {
        width: 32px;
        height: 32px;
    }

    .tier-name {
        font-size: 1.15rem;
    }

    .tier-range {
        font-size: 0.9rem;
    }

    .fee-amount {
        font-size: 2.25rem;
    }

    .popular-tag {
        font-size: 0.65rem;
        padding: 0.35rem 2rem;
    }

    /* Benefits */
    .benefit-card {
        padding: 1.25rem;
    }

    .benefit-icon {
        font-size: 2.25rem;
    }

    .benefit-title {
        font-size: 1.05rem;
    }

    /* Modal */
    .subscription-modal {
        width: 92%;
        margin: 0.75rem;
    }

    .modal-plan-name {
        font-size: 1.3rem;
    }

    .modal-plan-roi {
        font-size: 0.95rem;
    }
}

@media (max-width: 640px) {
    /* Grid to Single Column */
    .subscription-tiers-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    /* Status Card */
    .status-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .status-tier {
        font-size: 1.1rem;
    }

    .status-details {
        grid-template-columns: 1fr;
    }

    /* Tier Cards */
    .tier-icon {
        width: 3rem;
        height: 3rem;
    }

    .tier-icon svg {
        width: 28px;
        height: 28px;
    }

    .tier-name {
        font-size: 1.1rem;
    }

    .fee-amount {
        font-size: 2rem;
    }

    .fee-period {
        font-size: 0.85rem;
    }

    .feature-item {
        font-size: 0.85rem;
        padding: 0.6rem;
    }

    .tier-subscribe-btn {
        padding: 0.85rem;
        font-size: 0.9rem;
    }

    /* Benefits */
    .benefit-card {
        padding: 1.25rem;
    }

    .benefit-icon {
        font-size: 2rem;
    }

    .benefit-title {
        font-size: 1rem;
    }

    .benefit-description {
        font-size: 0.85rem;
    }

    /* Modal */
    .subscription-modal {
        width: 90%;
        max-height: 85vh;
        margin: 0.5rem;
    }

    .modal-plan-info {
        padding: 1.25rem;
    }

    .modal-plan-name {
        font-size: 1.2rem;
    }

    .modal-plan-roi {
        font-size: 0.9rem;
    }

    .summary-item {
        padding: 0.85rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .summary-label {
        font-size: 0.8rem;
    }

    .summary-value {
        font-size: 0.95rem;
    }

    .modal-note {
        padding: 0.85rem;
    }

    .modal-note p {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    /* Extra Small Screens */
    .subscription-status-card {
        padding: 1rem;
        border-radius: 1rem;
    }

    .status-icon {
        width: 2.25rem;
        height: 2.25rem;
    }

    .status-icon svg {
        width: 18px;
        height: 18px;
    }

    .status-title {
        font-size: 1rem;
    }

    .status-subtitle {
        font-size: 0.75rem;
    }

    .status-tier {
        font-size: 1rem;
    }

    .status-value {
        font-size: 0.9rem;
    }

    /* Tier Cards */
    .subscription-tier-card {
        padding: 1rem;
        border-radius: 1.25rem;
    }

    .tier-badge {
        font-size: 0.65rem;
        padding: 0.35rem 0.7rem;
    }

    .tier-icon {
        width: 2.75rem;
        height: 2.75rem;
    }

    .tier-icon svg {
        width: 24px;
        height: 24px;
    }

    .tier-name {
        font-size: 1rem;
    }

    .tier-range {
        font-size: 0.85rem;
    }

    .tier-pricing {
        padding: 1rem;
    }

    .fee-amount {
        font-size: 1.75rem;
    }

    .fee-period {
        font-size: 0.8rem;
    }

    .feature-item {
        font-size: 0.8rem;
        padding: 0.55rem;
        gap: 0.5rem;
    }

    .feature-item svg {
        width: 16px;
        height: 16px;
    }

    .tier-subscribe-btn {
        padding: 0.75rem;
        font-size: 0.85rem;
    }

    /* Modal */
    .subscription-modal {
        width: 90%;
        max-height: 80vh;
        margin: 0.5rem;
    }

    .modal-plan-info {
        padding: 1rem;
    }

    .modal-plan-badge {
        font-size: 0.7rem;
        padding: 0.35rem 0.85rem;
    }

    .modal-plan-name {
        font-size: 1.1rem;
    }

    .modal-plan-roi {
        font-size: 0.85rem;
    }

    .summary-item {
        padding: 0.75rem;
    }

    .summary-label {
        font-size: 0.75rem;
    }

    .summary-value {
        font-size: 0.9rem;
    }

    .modal-note {
        padding: 0.75rem;
        gap: 0.5rem;
    }

    .modal-note svg {
        width: 18px;
        height: 18px;
    }

    .modal-note p {
        font-size: 0.75rem;
    }

    .modal-confirm-btn {
        padding: 0.85rem;
        font-size: 0.9rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .subscription-tier-card:hover,
    .benefit-card:hover,
    .feature-item:hover {
        transform: none;
    }

    .subscription-tier-card:active {
        transform: scale(0.98);
    }

    .tier-subscribe-btn:active {
        transform: scale(0.96);
    }
}

/* Landscape Orientation for Small Devices */
@media (max-width: 896px) and (orientation: landscape) {
    .subscription-modal {
        max-height: 95vh;
    }

    .status-details {
        grid-template-columns: repeat(3, 1fr);
    }
}