/**
 * Donatico — Upgrade to Pro page styles
 *
 * Styles for the in-admin Upgrade page (Placement 1).
 * See docs/WEEK6-UPSELL-SPEC.md.
 */

/* ============================================
   Brand color tokens
   ============================================ */

.donatico-upgrade-wrap {
	--donatico-teal: #0F4640;
	--donatico-teal-dark: #082925;
	--donatico-mint: #2DD4A8;
	--donatico-coral: #EC407A;
	--donatico-gold: #FBBF24;
	--donatico-pink: #F48FB1;
	--donatico-text: #1d2327;
	--donatico-text-muted: #50575e;
	--donatico-border: #dcdcde;
	--donatico-bg-soft: #f6f7f7;

	max-width: 1200px;
	margin: 20px auto;
}

/* ============================================
   Banner hero
   ============================================ */

.donatico-upgrade-hero {
	margin-bottom: 30px;
	text-align: center;
}

.donatico-upgrade-banner {
	width: 100%;
	max-width: 772px;
	height: auto;
	border-radius: 8px;
	display: inline-block;
	box-shadow: 0 4px 16px rgba(15, 70, 64, 0.15);
}

/* ============================================
   Intro text
   ============================================ */

.donatico-upgrade-intro {
	text-align: center;
	margin-bottom: 40px;
}

.donatico-upgrade-intro h1 {
	font-size: 32px;
	font-weight: 700;
	color: var(--donatico-text);
	margin: 0 0 10px;
}

.donatico-upgrade-tagline {
	font-size: 16px;
	color: var(--donatico-text-muted);
	max-width: 720px;
	margin: 0 auto;
	line-height: 1.5;
}

/* ============================================
   Pricing cards (3-column grid)
   ============================================ */

.donatico-upgrade-pricing {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-bottom: 40px;
}

@media (max-width: 960px) {
	.donatico-upgrade-pricing {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}

.donatico-plan-card {
	background: #fff;
	border: 1px solid var(--donatico-border);
	border-radius: 12px;
	padding: 30px 24px;
	position: relative;
	display: flex;
	flex-direction: column;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.donatico-plan-card:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.donatico-plan-card.is-featured {
	border-color: var(--donatico-mint);
	border-width: 2px;
	box-shadow: 0 4px 16px rgba(45, 212, 168, 0.18);
}

.donatico-plan-badge {
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	background: var(--donatico-mint);
	color: var(--donatico-teal-dark);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
	padding: 5px 14px;
	border-radius: 12px;
}

.donatico-plan-name {
	font-size: 22px;
	font-weight: 700;
	color: var(--donatico-text);
	margin: 0 0 6px;
	text-align: center;
}

.donatico-plan-sites {
	font-size: 13px;
	color: var(--donatico-text-muted);
	margin: 0 0 20px;
	text-align: center;
}

.donatico-plan-price {
	text-align: center;
	margin-bottom: 6px;
	line-height: 1;
}

.donatico-price-currency {
	font-size: 20px;
	font-weight: 600;
	color: var(--donatico-text);
	vertical-align: top;
	position: relative;
	top: 8px;
}

.donatico-price-amount {
	font-size: 48px;
	font-weight: 800;
	color: var(--donatico-text);
}

.donatico-price-period {
	font-size: 14px;
	color: var(--donatico-text-muted);
	margin-left: 2px;
}

.donatico-plan-lifetime {
	font-size: 13px;
	color: var(--donatico-text-muted);
	text-align: center;
	margin: 0 0 20px;
}

.donatico-plan-features {
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
	flex-grow: 1;
}

.donatico-plan-features li {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	padding: 6px 0;
	font-size: 14px;
	color: var(--donatico-text);
	line-height: 1.4;
}

.donatico-check {
	color: var(--donatico-mint);
	font-weight: 700;
	flex-shrink: 0;
	margin-top: 1px;
}

.donatico-cta-button {
	display: block;
	text-align: center;
	width: 100%;
}

.donatico-plan-card.is-featured .donatico-cta-button {
	background: var(--donatico-mint);
	border-color: var(--donatico-mint);
	color: var(--donatico-teal-dark);
}

.donatico-plan-card.is-featured .donatico-cta-button:hover {
	background: #25b893;
	border-color: #25b893;
}

/* ============================================
   Refund guarantee
   ============================================ */

.donatico-upgrade-guarantee {
	background: var(--donatico-bg-soft);
	border: 1px solid var(--donatico-border);
	border-radius: 8px;
	padding: 20px 24px;
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 40px;
}

.donatico-guarantee-icon {
	font-size: 32px;
	color: var(--donatico-gold);
	flex-shrink: 0;
}

.donatico-upgrade-guarantee strong {
	display: block;
	font-size: 15px;
	color: var(--donatico-text);
	margin-bottom: 4px;
}

.donatico-upgrade-guarantee p {
	margin: 0;
	font-size: 13px;
	color: var(--donatico-text-muted);
	line-height: 1.5;
}

/* ============================================
   Feature comparison table
   ============================================ */

.donatico-upgrade-comparison {
	margin-bottom: 40px;
}

.donatico-upgrade-comparison h2 {
	font-size: 22px;
	font-weight: 700;
	color: var(--donatico-text);
	margin: 0 0 16px;
	text-align: center;
}

.donatico-comparison-table {
	border-radius: 8px;
	overflow: hidden;
}

.donatico-comparison-table th {
	background: var(--donatico-teal);
	color: #fff;
	font-weight: 600;
	padding: 12px 16px;
	text-align: left;
}

.donatico-comparison-table th.donatico-tier-col {
	text-align: center;
	width: 120px;
}

.donatico-comparison-table th.donatico-tier-pro {
	background: var(--donatico-teal-dark);
}

.donatico-comparison-table td {
	padding: 12px 16px;
}

.donatico-comparison-table td.donatico-feature-name {
	font-weight: 500;
	color: var(--donatico-text);
}

.donatico-comparison-table td:not(.donatico-feature-name) {
	text-align: center;
}

.donatico-comparison-table td.donatico-tier-pro {
	background: rgba(45, 212, 168, 0.05);
}

.donatico-yes {
	color: var(--donatico-mint);
	font-weight: 700;
	font-size: 18px;
}

.donatico-no {
	color: var(--donatico-border);
	font-weight: 700;
}

.donatico-custom {
	font-size: 13px;
	color: var(--donatico-text-muted);
}

/* ============================================
   Footer
   ============================================ */

.donatico-upgrade-footer {
	text-align: center;
	padding: 20px 0;
	border-top: 1px solid var(--donatico-border);
	color: var(--donatico-text-muted);
	font-size: 14px;
}

.donatico-upgrade-footer a {
	color: var(--donatico-teal);
	text-decoration: none;
	font-weight: 600;
}

.donatico-upgrade-footer a:hover {
	text-decoration: underline;
}
