:root {
    --star-color: #ffb300;
    --hot-color: #f44336;
    --new-color: #4caf50;
}
.page-header {
	background: #ffffff;
	color: var(--text-color);
	padding: 40px 0 25px;
	margin-bottom: 20px;
	position: relative;
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.page-header h1 {
	font-weight: 300;
	letter-spacing: -0.5px;
	margin-bottom: 12px;
	font-size: 1.8rem;
}

.page-header .lead {
	font-size: 0.95rem;
	color: var(--light-text);
	max-width: 500px;
	margin: 0 auto;
	line-height: 1.6;
}

.pricing-section {
	padding: 10px 0 40px;
	position: relative;
}

.pricing-card {
	background: white;
	border-radius: 10px;
	box-shadow: var(--shadow-light);
	padding: 22px 18px;
	margin-bottom: 20px;
	transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	border: 1px solid rgba(0, 0, 0, 0.05);
	position: relative;
	overflow: hidden;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.row .col-md-4:nth-child(1) .pricing-card {
	transform: translateY(12px);
}

.row .col-md-4:nth-child(2) .pricing-card {
	transform: translateY(0);
}

.row .col-md-4:nth-child(3) .pricing-card {
	transform: translateY(8px);
}

.row .col-md-4:hover .pricing-card {
	transform: translateY(-8px) !important;
}

.pricing-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	opacity: 0.8;
}

.pricing-card:hover {
	box-shadow: var(--shadow-medium);
}

.pricing-card.popular {
	border: 1px solid var(--primary-color);
	transform: translateY(-3px) scale(1.02);
	z-index: 2;
}

.pricing-card.popular::before {
	background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.pricing-card:not(.popular)::before {
	background: linear-gradient(to right, #e0e0e0, #bdbdbd);
}

.popular-badge {
	position: absolute;
	top: 10px;
	right: -32px;
	background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
	color: white;
	padding: 5px 28px;
	font-size: 0.65rem;
	font-weight: 600;
	transform: rotate(45deg);
	box-shadow: 0 3px 8px rgba(74, 107, 255, 0.3);
	z-index: 1;
}

.pricing-header {
	text-align: center;
	margin-bottom: 18px;
	position: relative;
	padding-bottom: 12px;
}

.pricing-header::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 35px;
	height: 1.5px;
	background: rgba(0, 0, 0, 0.1);
	border-radius: 1px;
}

.pricing-card.popular .pricing-header::after {
	background: var(--primary-color);
}

.pricing-name {
	font-size: 1.1rem;
	font-weight: 700;
	margin-bottom: 8px;
	color: var(--text-color);
}

.pricing-price {
	font-size: 1.8rem;
	font-weight: 800;
	margin-bottom: 3px;
	color: var(--text-color);
}

.pricing-card.popular .pricing-price {
	color: var(--primary-color);
}

.pricing-period {
	color: var(--light-text);
	font-size: 0.8rem;
	font-weight: 500;
}

.pricing-features {
	margin: 12px 0 18px;
	flex: 1;
}

.feature-item {
	display: flex;
	align-items: center;
	margin-bottom: 8px;
	padding: 4px 0;
}

.feature-icon {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 8px;
	flex-shrink: 0;
	color: white;
	font-size: 0.5rem;
}

.feature-icon.available {
	background: var(--accent-color);
}

.feature-icon.unavailable {
	background: #e0e0e0;
}

.feature-text {
	line-height: 1.4;
	font-weight: 500;
	font-size: 0.85rem;
}

.feature-limited {
	color: var(--light-text);
	font-weight: 400;
}

.btn-subscribe {
	width: 100%;
	padding: 8px;
	font-weight: 600;
	border-radius: 6px;
	transition: all 0.3s;
	border: none;
	font-size: 0.85rem;
	position: relative;
	overflow: hidden;
}

.btn-base {
	background: #f8f9fa;
	color: var(--text-color);
	border: 1px solid #dee2e6;
}

.btn-base:hover {
	background: #e9ecef;
	transform: translateY(-2px);
}

.btn-pro {
	background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
	color: white;
}

.btn-pro:hover {
	background: linear-gradient(135deg, var(--primary-dark), #2a44c2);
	transform: translateY(-2px);
}

.btn-max {
	background: linear-gradient(135deg, #8e2de2, #4a00e0);
	color: white;
}

.btn-max:hover {
	background: linear-gradient(135deg, #7d1ecf, #3a00b3);
	transform: translateY(-2px);
}

.comparison-section {
	padding: 40px 0;
	background: white;
	position: relative;
}

.comparison-section h2 {
	font-weight: 300;
	margin-bottom: 20px;
	font-size: 1.5rem;
}

.comparison-table-container {
	margin: 0 auto;
}

.comparison-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: var(--shadow-light);
	font-size: 0.8rem;
}

.comparison-table th, .comparison-table td {
	padding: 12px 8px;
	text-align: center;
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.comparison-table th {
	background: #f8f9ff;
	font-weight: 600;
	color: var(--text-color);
	border-bottom: 1px solid #e0e0e0;
}

.comparison-table th:first-child {
	text-align: left;
}

.comparison-table .feature-name {
	text-align: left;
	font-weight: 500;
	color: var(--text-color);
	background: rgba(248, 249, 255, 0.5);
}

.comparison-table .tick {
	color: var(--accent-color);
	font-size: 0.85rem;
}

.comparison-table .cross {
	color: #ff6b6b;
	font-size: 0.85rem;
	opacity: 0.7;
}

.modal-content {
	border-radius: 12px;
	border: none;
	box-shadow: var(--shadow-heavy);
	overflow: hidden;
}

.modal {
	--bs-backdrop-opacity: 0.5;
}

#paymentModal {
	--bs-backdrop-opacity: 0.7;
}

#paymentModal .modal-dialog {
	pointer-events: auto;
}

.modal-header {
	background: white;
	color: var(--text-color);
	padding: 18px 22px 12px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
	position: relative;
}

.modal-header .btn-close {
	opacity: 0.7;
}

.modal-body {
	padding: 18px 22px 22px;
	background: #f8f9ff;
}

.payment-info {
	background: white;
	border-radius: 8px;
	padding: 16px;
	margin-bottom: 16px;
	box-shadow: var(--shadow-light);
	border-left: 3px solid var(--primary-color);
}

.payment-plan {
	font-size: 1rem;
	font-weight: 700;
	color: var(--text-color);
	margin-bottom: 5px;
}

.payment-price {
	font-size: 0.9rem;
	color: var(--primary-color);
	font-weight: 600;
}

.payment-qrcode {
	text-align: center;
	margin: 16px 0;
	position: relative;
}

.qrcode-expired {
	filter: blur(8px) brightness(0.7);
}

.qrcode-container {
	width: 180px;
	height: 180px;
	margin: 0 auto;
	position: relative;
	border-radius: 8px;
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
	border: 1px solid rgba(0, 0, 0, 0.05);
	background: white;
	overflow: hidden;
}

#qrcode-display {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

#qrcode-display canvas,
#qrcode-display img {
	max-width: 100%;
	max-height: 100%;
}

.qrcode-error {
	width: 100%;
	height: 100%;
}

.refresh-expired-btn,
.refresh-error-btn {
	font-size: 12px;
	padding: 4px 12px;
}
      
.refresh-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 2;
}

.refresh-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.refresh-overlay i {
    font-size: 1.6rem;
    margin-bottom: 8px;
    color: var(--accent-color);
}

.refresh-overlay p {
    margin-bottom: 10px;
    font-size: 0.8rem;
}

.payment-timer {
	text-align: center;
	margin-bottom: 16px;
}

.timer-container {
	display: inline-block;
	background: white;
	padding: 6px 16px;
	border-radius: 50px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.timer-text {
	font-size: 0.75rem;
	color: var(--light-text);
	margin-right: 5px;
}

.timer {
	font-family: 'Courier New', monospace;
	font-weight: 700;
	font-size: 0.95rem;
}

.timer-warning {
	color: #ff6b6b;
	animation: blink 1s infinite;
}

@keyframes blink {
	0%, 100% { opacity: 1; }
	50% { opacity: 0.5; }
}

.payment-notice {
	background: #fff8f8;
	border-radius: 6px;
	padding: 10px;
	margin-top: 16px;
	font-size: 0.75rem;
	color: #d32f2f;
	border-left: 3px solid #ff5252;
}

.payment-notice p {
	margin-bottom: 5px;
	line-height: 1.4;
}

.payment-notice a {
	color: var(--primary-color);
	text-decoration: none;
	font-weight: 600;
}

.payment-notice a:hover {
	text-decoration: underline;
}

.payment-warning {
	background: #fff3e0;
	border-radius: 6px;
	padding: 10px;
	margin-top: 12px;
	font-size: 0.75rem;
	color: #e65100;
	border-left: 3px solid #ff9800;
}

.payment-warning p {
	margin-bottom: 5px;
	line-height: 1.4;
}

.payment-warning i {
	margin-right: 5px;
}

.success-message {
	text-align: center;
	padding: 25px 12px;
}

.success-icon {
	font-size: 3rem;
	color: var(--accent-color);
	margin-bottom: 12px;
	animation: successScale 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes successScale {
	0% { transform: scale(0); }
	70% { transform: scale(1.1); }
	100% { transform: scale(1); }
}

@media (max-width: 768px) {
	.row .col-md-4 .pricing-card {
		transform: translateY(0) !important;
	}
	
	.row .col-md-4:hover .pricing-card {
		transform: translateY(-6px) !important;
	}
	
	.comparison-table {
		font-size: 0.7rem;
	}
	
	.comparison-table th, .comparison-table td {
		padding: 8px 5px;
	}
	
	.page-header h1 {
		font-size: 1.6rem;
	}
	
	.page-header {
		padding: 25px 0 15px;
	}
	
	.pricing-card {
		padding: 18px 12px;
	}
}	

.pricing-options {
    margin-bottom: 15px;
}

.planToggle .btn {
    font-size: 0.7rem;
    padding: 3px 8px;
}

.planToggle .btn.active {
    background-color: var(--primary-color);
    color: white;
}

#proSavings {
    color: var(--accent-color);
    font-weight: 500;
}

.payment-period {
    font-size: 0.9rem;
    color: var(--light-text);
    margin-bottom: 5px;
}     

.feature-link {
    font-size: 0.75rem;
    color: var(--primary-color);
    text-decoration: none;
    padding: 3px 8px;
    border-radius: 3px;
    border: 1px solid rgba(74, 107, 255, 0.2);
    background: rgba(74, 107, 255, 0.05);
    transition: all 0.2s;
    display: inline-block;
    white-space: nowrap;
}

.feature-link:hover {
    background: rgba(74, 107, 255, 0.1);
    color: var(--primary-dark);
    text-decoration: none;
    border-color: var(--primary-color);
}

.func-badge {
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 600;
    margin-left: 8px;
    white-space: nowrap;
}

.star-badge {
    background-color: rgba(255, 179, 0, 0.1);
    color: var(--star-color);
}  

.section-header {
    padding: 0 15px;
}

.feature-intro-link {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
}

@media (max-width: 768px) {
    .section-header {
        text-align: center;
    }
    
    .feature-intro-link {
        position: static;
        transform: none;
        margin-top: 15px;
        text-align: center;
    }
}