/* =======================================================
   Yuva Indian Services - Plan Cards
   Theme matched to the site's navy + gold brand palette
   ======================================================= */

.yis-plans-grid,
.yis-my-plans-table,
.yis-plan-card {
	font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

:root {
	--yis-navy: #0b1e3f;
	--yis-navy-light: #14315e;
	--yis-gold: #e3a72e;
	--yis-gold-dark: #c98f1f;
	--yis-text: #4a5568;
	--yis-border: #e7e9f0;
	--yis-bg-soft: #f7f8fc;
}

.yis-plans-grid {
	display: grid !important;
	grid-template-columns: repeat(3, 1fr) !important;
	gap: 28px !important;
	margin: 32px 0 !important;
	align-items: stretch !important;
	list-style: none !important;
	box-sizing: border-box;
}

.yis-plans-grid * {
	box-sizing: border-box;
}

@media (max-width: 992px) {
	.yis-plans-grid {
		grid-template-columns: repeat(2, 1fr) !important;
	}
}

@media (max-width: 640px) {
	.yis-plans-grid {
		grid-template-columns: 1fr !important;
	}
}

.yis-plan-card {
	position: relative;
	background: #fff;
	border: 1px solid var(--yis-border);
	border-radius: 18px;
	padding: 34px 28px 28px;
	box-shadow: 0 6px 20px rgba(11, 30, 63, 0.06);
	display: flex !important;
	flex-direction: column !important;
	overflow: hidden;
	width: auto !important;
	float: none !important;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

/* Decorative gold glow blob in the corner - subtle, on-brand */
.yis-plan-card::after {
	content: '';
	position: absolute;
	top: -60px;
	right: -60px;
	width: 140px;
	height: 140px;
	background: radial-gradient(circle, rgba(227, 167, 46, 0.16) 0%, rgba(227, 167, 46, 0) 70%);
	border-radius: 50%;
	pointer-events: none;
	z-index: 0;
}

/* Thin gradient accent bar along the top edge */
.yis-plan-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 5px;
	background: linear-gradient(90deg, var(--yis-navy) 0%, var(--yis-gold) 100%);
	opacity: 0;
	transition: opacity 0.25s ease;
}

.yis-plan-card:hover::before {
	opacity: 1;
}

.yis-plan-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 18px 34px rgba(11, 30, 63, 0.14);
	border-color: var(--yis-gold);
}

/* Highlighted "Most Popular" plan */
.yis-plan-card.yis-plan-popular {
	border: 2px solid var(--yis-gold);
	box-shadow: 0 14px 34px rgba(227, 167, 46, 0.22);
}

.yis-plan-card.yis-plan-popular::before {
	opacity: 1;
}

.yis-plan-card.yis-plan-popular:hover {
	transform: translateY(-8px);
}

.yis-popular-ribbon {
	position: absolute;
	z-index: 2;
	top: -14px;
	left: 28px;
	background: linear-gradient(90deg, var(--yis-gold), var(--yis-gold-dark));
	color: var(--yis-navy);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	padding: 6px 16px;
	border-radius: 999px;
	box-shadow: 0 4px 10px rgba(201, 143, 31, 0.35);
}

/* Numbered badge - echoes the "01 Learn / 02 Practice..." style used on the site */
.yis-plan-num {
	position: relative;
	z-index: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--yis-gold) 0%, var(--yis-gold-dark) 100%);
	color: var(--yis-navy);
	margin-bottom: 18px;
	box-shadow: 0 6px 14px rgba(227, 167, 46, 0.35);
}

.yis-plan-num svg {
	width: 24px;
	height: 24px;
	display: block;
}

.yis-plan-title {
	position: relative;
	z-index: 1;
	margin: 0 0 8px;
	font-size: 21px;
	font-weight: 700;
	color: var(--yis-navy);
}

.yis-plan-price {
	position: relative;
	z-index: 1;
	font-size: 32px;
	font-weight: 800;
	color: var(--yis-navy);
	margin-bottom: 4px;
	letter-spacing: -0.01em;
}

.yis-plan-price-note {
	position: relative;
	z-index: 1;
	display: block;
	font-size: 12.5px;
	font-weight: 500;
	color: #9aa3b5;
	margin-bottom: 16px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.yis-plan-desc {
	position: relative;
	z-index: 1;
	color: var(--yis-text);
	font-size: 14.5px;
	line-height: 1.6;
	margin-bottom: 18px;
}

.yis-plan-topics {
	position: relative;
	z-index: 1;
	list-style: none;
	padding: 0;
	margin: 0 0 26px;
	flex-grow: 1;
	font-size: 14px;
	color: #333;
}

.yis-plan-topics li {
	position: relative;
	padding-left: 26px;
	margin-bottom: 10px;
	line-height: 1.4;
}

.yis-plan-topics li::before {
	content: '\2713';
	position: absolute;
	left: 0;
	top: -1px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--yis-navy) 0%, var(--yis-navy-light) 100%);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
}

.yis-buy-btn {
	position: relative;
	z-index: 1;
	display: inline-flex !important;
	width: auto !important;
	align-items: center;
	justify-content: center;
	gap: 6px;
	background: linear-gradient(135deg, var(--yis-gold) 0%, var(--yis-gold-dark) 100%) !important;
	color: var(--yis-navy) !important;
	border: none !important;
	border-radius: 999px;
	padding: 13px 22px;
	font-family: inherit;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
	letter-spacing: 0.01em;
	box-shadow: 0 8px 18px rgba(227, 167, 46, 0.28);
	text-decoration: none !important;
}

.yis-btn-arrow {
	transition: transform 0.2s ease;
}

.yis-buy-btn:hover {
	box-shadow: 0 10px 22px rgba(201, 143, 31, 0.4);
	transform: translateY(-2px);
}

.yis-buy-btn:hover .yis-btn-arrow {
	transform: translateX(3px);
}

.yis-buy-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
	transform: none;
}

.yis-plan-message {
	position: relative;
	z-index: 1;
	margin-top: 12px;
	font-size: 13.5px;
	font-weight: 500;
}

.yis-plan-message.yis-success { color: #1b7a3d; }
.yis-plan-message.yis-error   { color: #c0392b; }

/* ---- My Plans table ---- */
.yis-my-plans-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	margin: 24px 0;
	border: 1px solid var(--yis-border);
	border-radius: 14px;
	overflow: hidden;
	font-size: 14.5px;
}

.yis-my-plans-table th,
.yis-my-plans-table td {
	padding: 14px 16px;
	text-align: left;
	border-bottom: 1px solid var(--yis-border);
}

.yis-my-plans-table th {
	background: var(--yis-navy);
	color: #fff;
	font-weight: 600;
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: 0.04em;
}

.yis-my-plans-table tbody tr:last-child td {
	border-bottom: none;
}

.yis-my-plans-table tbody tr:hover {
	background: var(--yis-bg-soft);
}

.yis-my-plans-table a {
	color: var(--yis-navy-light);
	font-weight: 600;
	text-decoration: none;
}

.yis-my-plans-table a:hover {
	color: var(--yis-gold-dark);
	text-decoration: underline;
}

/* ---- Responsive ---- */
@media (max-width: 480px) {
	.yis-plan-card {
		padding: 28px 20px 24px;
	}
	.yis-plan-price {
		font-size: 26px;
	}
}
