@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@200;300;400;500;600;700&display=swap');

.pricing-table {
	background: url("img/subtract.png") no-repeat center center;
	background-size: cover;
	padding-top: 60px;
	padding-bottom: 60px;
	text-align: center;
	border-top: 1px solid var(--blue);
	border-bottom: 1px solid var(--blue);
	scroll-margin-top: var(--header-height, 93px);
}

.pricing-header h2 {
	color: var(--navy);
	font-size: 32px;
	font-weight: 700;
	max-width: 700px;
	margin: 0 auto 10px;
}

.pricing-header p {
	color: var(--navy-dark);
	font-weight: 300;
	font-size: 16px;
	padding-bottom: 60px;
}

/* ---------- Billing period tabs ---------- */

.compare-table-wrapper {
	max-width: 1200px;
	margin: 0 auto;
	text-align: left;
}

.compare-tabs {
	display: flex;
	gap: 8px;
	margin-bottom: -1px;
	position: relative;
	z-index: 2;
}

.compare-tab {
	background: #fff;
	border: 1px solid var(--blue);
	border-radius: 10px 10px 0 0;
	padding: 12px 24px;
	font-weight: 600;
	font-size: 16px;
	color: rgba(1, 137, 255, 0.8);
	cursor: pointer;
	white-space: nowrap;
}

.compare-tab:hover {
	opacity: 0.7;
}


.compare-tab.active {
	background: var(--blue);
	color: white;
	position: relative;
}

.compare-tab.active::after {
	content: "";
	position: absolute;
	bottom: -6px;
	left: 50%;
	transform: translateX(-50%);
	border-left: 6px solid transparent;
	border-right: 6px solid transparent;
	border-top: 6px solid var(--blue);
}


.compare-table-inner {
	border: 1px solid var(--blue);
	border-radius: 0 16px 16px 16px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0,0,0,.12);
}

/* ---------- Table card ---------- */

.compare-table {
	width: 100%;
	table-layout: fixed;
	border-collapse: separate;
	border-spacing: 0;
	background: white;
}

.compare-table thead th {
	text-align: left;
	color: var(--blue);
	opacity: 0.8;
	font-size: 16px;
	font-weight: 600;
	padding: 20px 16px 16px;
	border-bottom: 3px solid var(--blue);
}

.compare-table thead th:first-child {
	padding-left: 32px;
}

.compare-table tbody td {
	padding: 20px 16px;
	font-size: 16px;
	color: var(--text-muted);
	border-bottom: 1px solid var(--blue-light, #cfe3fb);
	white-space: nowrap;
}

.compare-table tbody strong {
	color:var(--navy-dark);
	margin: 4px;
}


.compare-table td.price-cell {
	font-size: 18px;
	font-weight: 700;
	color: var(--navy-dark);
}

.compare-table tbody tr:last-child td {
	border-bottom: none;
}

.compare-table tbody td:first-child {
	padding-left: 32px;
}

/* Plan name column */
.compare-table .plan-name strong {
	font-size: 16px;
	font-weight: 700;
	color: var(--navy-dark);
}

.compare-table .plan-name {
	color: var(--text-muted);
}




.compare-table td:nth-child(2)::after {
	content: "";
}


.compare-table td .per-month {
	font-weight: 400;
	font-size: 13px;
	color: var(--blue);
}

/* RAM / vCPU / SSD values */
.compare-table td:nth-child(1),
.compare-table td:nth-child(3),
.compare-table td:nth-child(4),
.compare-table td:nth-child(5),
.compare-table td:nth-child(7),
.compare-table td:nth-child(8) {
	font-weight: 500;
}
/* VPN column icons */
.compare-table td:nth-child(6) {
	text-align: center;
}

.compare-table .tick {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #19cf5c;
	color: white;
	font-size: 13px;
	font-weight: 700;
}

.compare-table .tick::before {
	content: "✓";
}

.compare-table .cross {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 50%;
	background: #e74117;
	color: white;
	font-size: 13px;
	font-weight: 800;
}

.compare-table .cross::before {
	content: "✕";
}

/* Order now button column */
.compare-table td:last-child {
	text-align: right;
	padding-right: 32px;
}

.compare-button {
	display: inline-block;
	background: var(--blue);
	color: white;
	font-weight: 400;
	font-size: 14px;
	text-decoration: none;
	padding: 10px 22px;
	border-radius: 10px;
	white-space: nowrap;
}

.compare-button:hover {
	background: var(--navy);
}




.compare-table tbody tr:hover td {
	background-color: var(--blue-light);
}




/* ---------- Responsive ---------- */

@media (max-width: 900px) {
	.compare-table-wrapper {
		overflow-x: auto;
	}
	.compare-table {
		min-width: 800px;
	}
}

/* ---------- Footer note ---------- */


.price-plans-footer {
	display: flex;
	justify-content: center;
	width: 100%;
	text-align: center;
}

.price-plans-footer-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
}


.price-plans-footer-message img {
	width: 20px;
	height: auto;
	margin-top: 5px;
}

.price-plans-footer-message {
	padding-top: 40px;
	display: flex;
	align-items: flex-start;
	justify-content: center;
	gap: 15px;
}


.price-plans-footer-buttons {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 20px;
	margin-top: 25px;
	margin-bottom: 25px;
	width: 100%;
}

.price-plans-footer-message h3 {
	margin: 0;
	font-size: 16px;
	font-weight: 300;
	line-height: 1.6;
	color: #fff;
}
