/* ═══════════════════════════════════════════
   CHAGO VPN — front page (port of landing.css)
   ═══════════════════════════════════════════ */

/* ── Main Wrap ── */
.main-wrap {
	position: relative;
	z-index: 1;
	height: 100dvh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 20px 24px 16px;
	gap: 0;
	overflow: hidden;
}

/* ── Logo Header ── */
.logo-header {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	margin-bottom: 16px;
	text-align: center;
	flex-shrink: 0;
	opacity: 0;
	animation: fadeUp 0.5s ease 0.05s forwards;
}

/* ── Pricing Wrap ── */
.pricing-wrap {
	width: 100%;
	max-width: 1140px;
	display: flex;
	flex-direction: column;
	align-items: center;
	flex: 1;
	min-height: 0;
}

.pricing-title {
	font-size: clamp(1.8rem, 4.5vw, 3rem);
	font-weight: 900;
	letter-spacing: -0.03em;
	text-align: center;
	line-height: 1.1;
	margin-bottom: 8px;
	flex-shrink: 0;
	opacity: 0;
	animation: fadeUp 0.5s ease 0.1s forwards;
}

.pricing-sub {
	color: #b0c0d0;
	font-size: clamp(0.92rem, 1.8vw, 1.1rem);
	text-align: center;
	max-width: 620px;
	margin-bottom: clamp(16px, 3vh, 32px);
	flex-shrink: 0;
	opacity: 0;
	animation: fadeUp 0.5s ease 0.14s forwards;
}

/* ── Desktop: Cards Row ── */
.cards-row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(14px, 2.2vw, 24px);
	width: 100%;
	flex: 1;
	min-height: 0;
	max-height: clamp(380px, 62vh, 560px);
	align-items: stretch;
}

/* ── Card ── */
.pkg-card {
	position: relative;
	border-radius: 18px;
	opacity: 0;
	animation: cardReveal 0.55s cubic-bezier(0.34, 1.3, 0.64, 1) forwards;
	transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.28s ease;
}

.pkg-card:nth-child(1) { animation-delay: 0.15s; }
.pkg-card:nth-child(2) { animation-delay: 0.24s; }
.pkg-card:nth-child(3) { animation-delay: 0.33s; }

.pkg-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

@keyframes cardReveal {
	to { opacity: 1; transform: translateY(0) scale(1); }
}

.card-inner {
	background: var(--card-bg);
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 18px;
	padding: clamp(20px, 3vh, 32px) clamp(18px, 2.4vw, 28px) clamp(18px, 2.5vh, 26px);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	display: flex;
	flex-direction: column;
	height: 100%;
}

.pkg-card.featured .card-inner {
	background: var(--card-featured-bg);
	border-color: rgba(0, 230, 118, 0.3);
	box-shadow: 0 0 36px rgba(0, 230, 118, 0.08), inset 0 1px 0 rgba(0, 230, 118, 0.12);
}

.pkg-card.featured:hover {
	box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 50px rgba(0, 230, 118, 0.14);
}

/* Featured Ribbon */
.featured-ribbon {
	position: absolute;
	top: -14px;
	left: 50%;
	transform: translateX(-50%);
	background: linear-gradient(135deg, #00e676, #00b359);
	color: #001a0d;
	font-family: var(--font-mono);
	font-size: 0.72rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	padding: 5px 16px;
	border-radius: 100px;
	white-space: nowrap;
	box-shadow: 0 4px 16px rgba(0, 230, 118, 0.4);
	z-index: 2;
}

/* Card Icon */
.card-icon {
	width: clamp(38px, 4.5vh, 46px);
	height: clamp(38px, 4.5vh, 46px);
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: clamp(12px, 1.8vh, 18px);
	flex-shrink: 0;
}

.card-icon svg {
	width: 20px;
	height: 20px;
	stroke: var(--text-muted);
}

.icon-emerald {
	background: rgba(0, 230, 118, 0.1);
	border-color: rgba(0, 230, 118, 0.25);
}

.icon-emerald svg {
	stroke: var(--emerald);
}

/* Package Name */
.pkg-name {
	font-size: clamp(1.18rem, 2.2vh, 1.45rem);
	font-weight: 800;
	letter-spacing: -0.02em;
	margin-bottom: clamp(4px, 0.8vh, 8px);
}

/* Price */
.pkg-price {
	display: flex;
	align-items: baseline;
	gap: 6px;
	margin-bottom: clamp(12px, 2vh, 22px);
}

.price-num {
	font-size: clamp(2rem, 4.2vh, 3rem);
	font-weight: 900;
	letter-spacing: -0.04em;
	line-height: 1;
}

.price-per {
	font-size: 0.95rem;
	color: var(--text-muted);
	font-weight: 500;
}

.price-emerald .price-num {
	color: var(--emerald);
	text-shadow: 0 0 18px rgba(0, 230, 118, 0.4);
}

/* Features */
.pkg-features {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: clamp(8px, 1.4vh, 13px);
	margin-bottom: clamp(14px, 2.2vh, 24px);
	padding-bottom: clamp(14px, 2.2vh, 24px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	flex: 1;
	justify-content: center;
}

.pkg-features li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: clamp(0.85rem, 1.6vh, 0.98rem);
	color: #d0dbe5;
	font-weight: 500;
}

.pkg-features li svg {
	width: 16px;
	height: 16px;
	stroke: var(--emerald);
	flex-shrink: 0;
}

/* Buttons */
.pkg-btn {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: clamp(11px, 1.8vh, 15px) 18px;
	border-radius: 12px;
	font-size: clamp(0.85rem, 1.6vh, 0.96rem);
	font-weight: 800;
	letter-spacing: 0.01em;
	text-decoration: none;
	transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
	cursor: pointer;
	flex-shrink: 0;
}

.pkg-btn svg {
	width: 16px;
	height: 16px;
	transition: transform 0.18s ease;
}

.pkg-btn:hover svg {
	transform: translateX(3px);
}

.btn-outline {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.18);
	color: var(--text-main);
}

.btn-outline:hover {
	background: rgba(255, 255, 255, 0.12);
	border-color: rgba(255, 255, 255, 0.32);
}

.pkg-btn.btn-emerald {
	width: auto;
}

.pkg-btn.btn-emerald:hover {
	transform: scale(1.02);
	color: #001a0d;
}

/* ── Pay Strip ── */
.pay-strip {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: clamp(12px, 2vh, 24px);
	flex-shrink: 0;
	opacity: 0;
	animation: fadeUp 0.5s ease 0.4s forwards;
}

.pay-chip {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 100px;
	padding: 6px 14px;
	font-size: 0.82rem;
	color: #a0b0c0;
	font-weight: 500;
}

.pay-chip svg {
	width: 14px;
	height: 14px;
	stroke: #6c7b88;
}

/* ── Animations ── */
@keyframes fadeUp {
	from { opacity: 0; transform: translateY(16px); }
	to   { opacity: 1; transform: translateY(0); }
}

/* ═══════════════════════════════════════════
   MOBILE — Slider (≤ 860px)
   ═══════════════════════════════════════════ */
@media (max-width: 860px) {

	html,
	body {
		overflow: hidden;
	}

	.main-wrap {
		height: 100dvh;
		padding: 16px 0 14px;
		justify-content: flex-start;
		overflow: hidden;
	}

	.logo-header {
		margin-bottom: 10px;
		padding: 0 16px;
	}

	.pricing-wrap {
		width: 100%;
		padding: 0;
		flex: 1;
		min-height: 0;
		display: flex;
		flex-direction: column;
	}

	.pricing-title {
		font-size: clamp(1.3rem, 5vw, 1.7rem);
		margin-bottom: 4px;
		padding: 0 16px;
	}

	.pricing-sub {
		font-size: 0.78rem;
		margin-bottom: 14px;
		padding: 0 16px;
	}

	.cards-row {
		display: flex;
		flex-direction: row;
		overflow-x: scroll;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		gap: 0;
		padding: 18px 0 8px;
		flex: 1;
		min-height: 0;
		align-items: stretch;
	}

	.cards-row::-webkit-scrollbar {
		display: none;
	}

	.pkg-card {
		scroll-snap-align: center;
		flex: 0 0 82vw;
		max-width: 340px;
		animation: none;
		opacity: 1;
		transform: none;
		transition: transform 0.28s ease, box-shadow 0.28s ease;
	}

	.pkg-card:first-child { margin-left: calc(50vw - 41vw); }
	.pkg-card:last-child  { margin-right: calc(50vw - 41vw); }
	.pkg-card + .pkg-card { margin-left: 14px; }

	.card-inner {
		padding: 22px 20px 18px;
		height: 100%;
	}

	.pkg-card.slide-inactive {
		transform: scale(0.93);
		opacity: 0.7;
	}

	.pkg-card.slide-active {
		transform: scale(1);
		opacity: 1;
	}

	.slider-dots {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 8px;
		margin-top: 6px;
		flex-shrink: 0;
	}

	.slider-dot {
		width: 7px;
		height: 7px;
		border-radius: 50%;
		background: rgba(255, 255, 255, 0.2);
		cursor: pointer;
		transition: all 0.25s ease;
		border: none;
		padding: 0;
	}

	.slider-dot.active {
		width: 22px;
		border-radius: 4px;
		background: var(--emerald);
		box-shadow: 0 0 8px rgba(0, 230, 118, 0.5);
	}

	.pay-strip {
		margin-top: 8px;
		padding: 0 16px;
		flex-wrap: wrap;
		justify-content: center;
		gap: 6px;
	}

	.pay-chip {
		font-size: 0.7rem;
		padding: 4px 10px;
	}

	.pkg-card:hover {
		transform: none;
		box-shadow: none;
	}

	.pkg-card.slide-active:hover {
		transform: scale(1);
	}
}

/* Very small phones */
@media (max-width: 400px) {
	.pkg-card {
		flex: 0 0 88vw;
		max-width: 300px;
	}

	.pkg-card:first-child { margin-left: calc(50vw - 44vw); }
	.pkg-card:last-child  { margin-right: calc(50vw - 44vw); }
}
