/**
 * Magictool Landing Page Styles
 *
 * @package Magictool
 */

/* Variables & Base */
.magictool-landing {
	overflow-x: hidden;
	--magictool-lp-primary: #1447e6;
	--magictool-lp-primary-dark: #0d33a8;
	--magictool-lp-text: #1e293b;
	--magictool-lp-text-muted: #64748b;
	--magictool-lp-bg: #f8fafc;
	--magictool-lp-card: #ffffff;
	--magictool-lp-border: #e2e8f0;
	--magictool-lp-radius: 16px;
	--magictool-lp-radius-sm: 12px;
	font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: var(--magictool-lp-text);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

.magictool-lp-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

@media (max-width: 480px) {
	.magictool-lp-container {
		padding: 0 16px;
	}
}

/* Header */
.magictool-lp-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	transition: background 0.3s ease, box-shadow 0.3s ease, top 0.2s ease;
}

/* Offset for WordPress admin bar when logged in */
body.admin-bar .magictool-lp-header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar .magictool-lp-header {
		top: 46px;
	}
}

/* Hero padding when admin bar is present (header + admin bar height) */
body.admin-bar .magictool-landing .magictool-lp-hero {
	padding-top: calc(72px + 32px);
}

@media screen and (max-width: 782px) {
	body.admin-bar .magictool-landing .magictool-lp-hero {
		padding-top: calc(60px + 46px);
	}
}

@media screen and (max-width: 640px) {
	body.admin-bar .magictool-landing .magictool-lp-hero {
		padding-top: calc(56px + 46px);
	}
}

.magictool-lp-header.scrolled {
	background: rgba(15, 23, 42, 0.85);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.magictool-lp-header-bg {
	display: none;
}

.magictool-lp-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 16px 24px;
	gap: 32px;
}

.magictool-lp-header-logo {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: #fff;
	font-weight: 700;
	font-size: 1.25rem;
	letter-spacing: -0.02em;
}

.magictool-lp-header-logo:hover {
	color: #93c5fd;
}

.magictool-lp-header-logo-icon {
	color: #93c5fd;
	flex-shrink: 0;
}

.magictool-lp-header-nav {
	display: flex;
	align-items: center;
	gap: 32px;
}

.magictool-lp-header-nav a {
	color: rgba(255, 255, 255, 0.9);
	text-decoration: none;
	font-size: 0.95rem;
	font-weight: 500;
	transition: color 0.2s;
}

.magictool-lp-header-nav a:hover {
	color: #fff;
}

.magictool-lp-header.scrolled .magictool-lp-header-logo,
.magictool-lp-header.scrolled .magictool-lp-header-nav a {
	color: #fff;
}

.magictool-lp-header.scrolled .magictool-lp-header-nav a:hover {
	color: #93c5fd;
}

@media (max-width: 768px) {
	.magictool-lp-header-cta .magictool-lp-btn {
		padding: 8px 16px;
		font-size: 13px;
		border-radius: 8px;
	}
}

@media (max-width: 480px) {
	.magictool-lp-header-cta .magictool-lp-btn {
		padding: 6px 14px;
		font-size: 12px;
	}
}

/* Hero */
@keyframes magictool-lp-blob-float {
	0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
	33% { transform: translate(30px, -30px) scale(1.05); opacity: 0.5; }
	66% { transform: translate(-20px, 20px) scale(0.95); opacity: 0.7; }
}

@keyframes magictool-lp-fade-up {
	from { opacity: 0; transform: translateY(24px); }
	to { opacity: 1; transform: translateY(0); }
}

@keyframes magictool-lp-fade-left {
	from { opacity: 0; transform: translateX(32px); }
	to { opacity: 1; transform: translateX(0); }
}

@keyframes magictool-lp-card-float {
	0%, 100% { transform: translateY(0) rotate(0deg); }
	50% { transform: translateY(-8px) rotate(1deg); }
}

.magictool-lp-hero {
	position: relative;
	min-height: 95vh;
	min-height: min(95vh, 900px);
	padding-top: 72px;
	display: flex;
	align-items: center;
	overflow: hidden;
}

.magictool-lp-hero-bg {
	position: absolute;
	inset: 0;
	background: linear-gradient(160deg, #0a0f1a 0%, #0f172a 25%, #1e293b 50%, #1e3a5f 75%, #1447e6 100%);
	background-size: 200% 200%;
}

.magictool-lp-hero-bg::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 100% 80% at 20% 20%, rgba(99, 102, 241, 0.25), transparent 50%),
				radial-gradient(ellipse 80% 60% at 80% 30%, rgba(20, 71, 230, 0.35), transparent 50%),
				radial-gradient(ellipse 60% 80% at 50% 90%, rgba(139, 92, 246, 0.15), transparent 50%);
	pointer-events: none;
}

.magictool-lp-hero-grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
	background-size: 60px 60px;
	mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 70%);
	-webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 70%);
}

.magictool-lp-hero-blob {
	position: absolute;
	border-radius: 50%;
	filter: blur(80px);
	pointer-events: none;
	animation: magictool-lp-blob-float 15s ease-in-out infinite;
}

.magictool-lp-hero-blob-1 {
	width: 400px;
	height: 400px;
	background: rgba(99, 102, 241, 0.4);
	top: -10%;
	right: 10%;
	animation-delay: 0s;
}

.magictool-lp-hero-blob-2 {
	width: 300px;
	height: 300px;
	background: rgba(20, 71, 230, 0.35);
	bottom: 10%;
	left: -5%;
	animation-delay: -5s;
}

.magictool-lp-hero-blob-3 {
	width: 250px;
	height: 250px;
	background: rgba(139, 92, 246, 0.25);
	top: 50%;
	left: 50%;
	animation-delay: -10s;
}

.magictool-lp-hero-inner {
	position: relative;
	z-index: 1;
	padding: 100px 0 120px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
	width: 100%;
}

.magictool-lp-hero-content [data-animate="fade-up"] {
	animation: magictool-lp-fade-up 0.8s ease-out backwards;
}

.magictool-lp-hero-content [data-animate="fade-up"]:nth-child(1) { animation-delay: 0.1s; }
.magictool-lp-hero-content [data-animate="fade-up"]:nth-child(2) { animation-delay: 0.15s; }
.magictool-lp-hero-content [data-animate="fade-up"]:nth-child(3) { animation-delay: 0.2s; }
.magictool-lp-hero-content [data-animate="fade-up"]:nth-child(4) { animation-delay: 0.25s; }
.magictool-lp-hero-content [data-animate="fade-up"]:nth-child(5) { animation-delay: 0.3s; }
.magictool-lp-hero-content [data-animate="fade-up"]:nth-child(6) { animation-delay: 0.35s; }
.magictool-lp-hero-content [data-animate="fade-up"]:nth-child(7) { animation-delay: 0.4s; }
.magictool-lp-hero-content [data-animate="fade-up"]:nth-child(8) { animation-delay: 0.45s; }
.magictool-lp-hero-content [data-animate="fade-up"]:nth-child(9) { animation-delay: 0.5s; }
.magictool-lp-hero-content [data-animate="fade-up"]:nth-child(10) { animation-delay: 0.55s; }
.magictool-lp-hero-content [data-animate="fade-up"]:nth-child(11) { animation-delay: 0.6s; }

.magictool-lp-hero-visual [data-animate="fade-left"] {
	animation: magictool-lp-fade-left 0.9s ease-out 0.3s backwards;
}

.magictool-lp-hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 18px;
	background: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 999px;
	font-size: 14px;
	font-weight: 500;
	color: rgba(255, 255, 255, 0.95);
	letter-spacing: 0.03em;
	margin-bottom: 28px;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.15);
}

.magictool-lp-hero-badge-icon {
	flex-shrink: 0;
	color: #a5b4fc;
}

.magictool-lp-hero-title {
	font-size: clamp(2.75rem, 5.5vw, 4rem);
	font-weight: 800;
	line-height: 1.1;
	letter-spacing: -0.03em;
	color: #fff;
	margin: 0 0 24px;
	max-width: 580px;
}

.magictool-lp-hero-title-accent {
	display: block;
	margin-top: 0.15em;
	background: linear-gradient(135deg, #93c5fd, #c7d2fe, #e0e7ff);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	font-size: 0.92em;
}

.magictool-lp-hero-desc {
	font-size: 1.2rem;
	color: rgba(255, 255, 255, 0.88);
	max-width: 500px;
	margin: 0 0 40px;
	line-height: 1.7;
}

.magictool-lp-hero-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 48px;
}

.magictool-lp-hero-stats {
	display: flex;
	gap: 40px;
}

.magictool-lp-hero-stat {
	display: flex;
	flex-direction: column;
}

.magictool-lp-hero-stat-value {
	font-size: 1.75rem;
	font-weight: 800;
	color: #fff;
	line-height: 1.2;
}

.magictool-lp-hero-stat-label {
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.7);
	font-weight: 500;
}

/* Hero Visual - Preview Cards */
.magictool-lp-hero-visual {
	position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
}

.magictool-lp-hero-preview {
	position: relative;
	width: 100%;
	max-width: 420px;
}

.magictool-lp-hero-preview-card {
	position: absolute;
	background: rgba(255, 255, 255, 0.06);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 16px;
	padding: 20px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.magictool-lp-hero-preview-card-1 {
	top: 0;
	left: 0;
	width: 180px;
	height: 180px;
	animation: magictool-lp-card-float 5s ease-in-out infinite;
}

.magictool-lp-hero-preview-card-2 {
	bottom: 20px;
	right: 0;
	width: 200px;
	height: 140px;
	animation: magictool-lp-card-float 6s ease-in-out infinite 0.5s;
}

.magictool-lp-hero-preview-card-3 {
	bottom: 50%;
	left: 50%;
	transform: translate(-50%, 50%);
	width: 220px;
	padding: 16px 20px;
	/* animation: magictool-lp-card-float 5.5s ease-in-out infinite 1s; */
}

.magictool-lp-hero-preview-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 12px;
	border: 1px dashed rgba(255, 255, 255, 0.2);
	color: rgba(255, 255, 255, 0.6);
	font-size: 13px;
	font-weight: 500;
}

.magictool-lp-hero-preview-placeholder svg {
	opacity: 0.7;
}

.magictool-lp-hero-preview-prompt {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.magictool-lp-hero-preview-prompt-label {
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: rgba(255, 255, 255, 0.5);
}

.magictool-lp-hero-preview-prompt-text {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 1024px) {
	.magictool-lp-hero {
		min-height: auto;
		padding-top: 60px;
		align-items: flex-start;
	}

	.magictool-lp-hero-inner {
		grid-template-columns: 1fr;
		gap: 48px;
		padding: 60px 15px 80px;
		text-align: center;
	}

	.magictool-lp-hero-content {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.magictool-lp-hero-title,
	.magictool-lp-hero-desc {
		max-width: 100%;
	}

	.magictool-lp-hero-cta {
		justify-content: center;
	}

	.magictool-lp-hero-stats {
		justify-content: center;
	}

	.magictool-lp-hero-visual {
		min-height: 280px;
		order: -1;
		display: none;
	}

	.magictool-lp-hero-preview {
		max-width: 320px;
		min-height: 260px;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 12px;
	}

	.magictool-lp-hero-preview-card {
		position: relative !important;
		top: auto !important;
		left: auto !important;
		right: auto !important;
		bottom: auto !important;
		transform: none !important;
		margin: 0 !important;
	}

	.magictool-lp-hero-preview-card-1 { width: 140px; height: 140px; }
	.magictool-lp-hero-preview-card-2 { width: 160px; height: 110px; }
	.magictool-lp-hero-preview-card-3 { width: 180px; }
}

@media (max-width: 640px) {
	.magictool-lp-hero {
		padding-top: 56px;
	}

	.magictool-lp-hero-inner {
		padding: 40px 15px 64px;
		gap: 40px;
	}

	.magictool-lp-hero-badge {
		margin-bottom: 20px;
		padding: 6px 14px;
		font-size: 12px;
	}

	.magictool-lp-hero-title {
		font-size: clamp(2rem, 8vw, 2.5rem);
		margin-bottom: 16px;
	}

	.magictool-lp-hero-desc {
		font-size: 1rem;
		margin-bottom: 28px;
	}

	.magictool-lp-hero-cta {
		margin-bottom: 36px;
		gap: 10px;
	}

	.magictool-lp-hero-cta .magictool-lp-btn {
		padding: 12px 20px;
		font-size: 14px;
		line-height: 1;
		border-radius: 8px;
	}

	.magictool-lp-hero-stats {
		gap: 24px;
	}

	.magictool-lp-hero-stat-value {
		font-size: 1.5rem;
	}

	.magictool-lp-hero-stat-label {
		font-size: 0.85rem;
	}

	.magictool-lp-hero-visual {
		min-height: 240px;
	}

	.magictool-lp-hero-preview {
		max-width: 280px;
		min-height: 220px;
	}

	.magictool-lp-hero-preview-card-1 { width: 120px; height: 120px; }
	.magictool-lp-hero-preview-card-2 { width: 140px; height: 95px; }
	.magictool-lp-hero-preview-card-3 { width: 160px; padding: 12px 16px; }
}

@media (max-width: 480px) {
	.magictool-lp-hero-inner {
		padding: 32px 15px 56px;
		gap: 32px;
	}

	.magictool-lp-hero-preview-card-1 { width: 110px; height: 110px; }
	.magictool-lp-hero-preview-card-2 { width: 130px; height: 90px; }
	.magictool-lp-hero-preview-card-3 { width: 150px; }

	/* Reduce blob animation on small screens for performance */
	.magictool-lp-hero-blob-1 { width: 200px; height: 200px; }
	.magictool-lp-hero-blob-2 { width: 150px; height: 150px; }
	.magictool-lp-hero-blob-3 { width: 120px; height: 120px; }
}

/* Buttons */
.magictool-lp-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 12px 28px;
	font-size: 15px;
	font-weight: 600;
	border-radius: var(--magictool-lp-radius-sm);
	text-decoration: none;
	transition: transform 0.15s, box-shadow 0.2s;
	cursor: pointer;
	border: none;
	font-family: inherit;
}

.magictool-lp-btn-sm {
	padding: 10px 20px;
	font-size: 14px;
}

.magictool-lp-btn:hover {
	transform: translateY(-1px);
}

.magictool-lp-btn-primary {
	background: #fff;
	color: var(--magictool-lp-primary);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.magictool-lp-btn-primary:hover {
	background: #f8fafc;
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.magictool-lp-btn-outline {
	background: transparent;
	color: #fff;
	border: 2px solid rgba(255, 255, 255, 0.5);
}

.magictool-lp-btn-outline:hover {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.08);
}

.magictool-lp-btn-lg {
	padding: 14px 36px;
	font-size: 17px;
}

/* Section */
.magictool-lp-section {
	padding: 100px 0;
}

@media (max-width: 768px) {
	.magictool-lp-section {
		padding: 64px 0;
	}
}

@media (max-width: 480px) {
	.magictool-lp-section {
		padding: 48px 0;
	}

	.magictool-lp-section-desc {
		margin-bottom: 40px;
	}
}

.magictool-lp-section-alt {
	background: var(--magictool-lp-bg);
}

.magictool-lp-section-title {
	font-size: clamp(1.5rem, 4vw, 2.5rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	text-align: center;
	margin: 0 0 12px;
	color: var(--magictool-lp-text);
}

.magictool-lp-section-desc {
	text-align: center;
	font-size: 1.125rem;
	color: var(--magictool-lp-text-muted);
	max-width: 520px;
	margin: 0 auto 56px;
}

/* Features Grid */
.magictool-lp-features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 28px;
}

@media (max-width: 480px) {
	.magictool-lp-features {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.magictool-lp-feature-card {
		padding: 24px 20px;
	}
}

.magictool-lp-feature-card {
	background: var(--magictool-lp-card);
	border: 1px solid var(--magictool-lp-border);
	border-radius: var(--magictool-lp-radius);
	padding: 36px 32px;
	transition: transform 0.2s, box-shadow 0.2s;
}

.magictool-lp-feature-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 40px rgba(20, 71, 230, 0.08);
}

.magictool-lp-feature-icon {
	width: 56px;
	height: 56px;
	border-radius: var(--magictool-lp-radius-sm);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
}

.magictool-lp-feature-icon-image {
	background: linear-gradient(135deg, #dbeafe, #bfdbfe);
	color: var(--magictool-lp-primary);
}

.magictool-lp-feature-icon-video {
	background: linear-gradient(135deg, #fce7f3, #fbcfe8);
	color: #be185d;
}

.magictool-lp-feature-icon-credits {
	background: linear-gradient(135deg, #d1fae5, #a7f3d0);
	color: #047857;
}

.magictool-lp-feature-card h3 {
	font-size: 1.25rem;
	font-weight: 600;
	margin: 0 0 10px;
	color: var(--magictool-lp-text);
}

.magictool-lp-feature-card p {
	font-size: 0.95rem;
	color: var(--magictool-lp-text-muted);
	margin: 0;
	line-height: 1.65;
}

/* Steps */
.magictool-lp-steps {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: center;
	gap: 24px;
}

.magictool-lp-step {
	flex: 1;
	min-width: 220px;
	max-width: 320px;
	text-align: center;
	padding: 32px 24px;
}

@media (max-width: 600px) {
	.magictool-lp-step {
		min-width: 100%;
		max-width: 100%;
		padding: 28px 20px;
	}
}

.magictool-lp-step-num {
	width: 48px;
	height: 48px;
	margin: 0 auto 20px;
	background: linear-gradient(135deg, var(--magictool-lp-primary), var(--magictool-lp-primary-dark));
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.25rem;
	font-weight: 700;
}

.magictool-lp-step h3 {
	font-size: 1.125rem;
	font-weight: 600;
	margin: 0 0 8px;
}

.magictool-lp-step p {
	font-size: 0.9rem;
	color: var(--magictool-lp-text-muted);
	margin: 0;
}

.magictool-lp-step-arrow {
	display: flex;
	align-items: center;
	font-size: 1.5rem;
	color: var(--magictool-lp-primary);
	opacity: 0.6;
}

@media (max-width: 768px) {
	.magictool-lp-step-arrow {
		transform: rotate(90deg);
	}
}

/* Pricing */
.magictool-lp-pricing {
	position: relative;
	background: linear-gradient(165deg, #eef2ff 0%, #e0e7ff 35%, #ddd6fe 70%, #f5f3ff 100%);
	overflow: hidden;
}

.magictool-lp-pricing::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(circle at 1px 1px, rgba(99, 102, 241, 0.12) 1px, transparent 0);
	background-size: 28px 28px;
	pointer-events: none;
}

.magictool-lp-pricing .magictool-lp-container {
	position: relative;
	z-index: 1;
}

.magictool-lp-pricing .magictool-lp-section-title {
	color: #312e81;
}

.magictool-lp-pricing .magictool-lp-section-desc {
	color: #4c1d95;
	opacity: 0.9;
}

.magictool-lp-pricing-cards {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 32px;
	align-items: stretch;
	max-width: 1000px;
	margin: 0 auto;
}

.magictool-lp-pricing-card {
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.8);
	border-radius: 20px;
	padding: 40px 36px;
	position: relative;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
	box-shadow: 0 4px 24px rgba(99, 102, 241, 0.08);
}

.magictool-lp-pricing-card-featured {
	border-color: rgba(20, 71, 230, 0.4);
	box-shadow: 0 12px 48px rgba(20, 71, 230, 0.18), 0 0 0 1px rgba(20, 71, 230, 0.08);
}

.magictool-lp-pricing-card-featured:hover {
	transform: translateY(-2px);
	box-shadow: 0 16px 56px rgba(20, 71, 230, 0.2), 0 0 0 1px rgba(20, 71, 230, 0.1);
}

.magictool-lp-pricing-badge {
	position: absolute;
	top: -12px;
	left: 50%;
	transform: translateX(-50%);
	background: linear-gradient(135deg, var(--magictool-lp-primary), var(--magictool-lp-primary-dark));
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	padding: 6px 18px;
	border-radius: 999px;
	letter-spacing: 0.05em;
	white-space: nowrap;
	box-shadow: 0 4px 12px rgba(20, 71, 230, 0.35);
}

.magictool-lp-pricing-icon {
	width: 64px;
	height: 64px;
	border-radius: 16px;
	background: linear-gradient(135deg, #c7d2fe, #a5b4fc);
	color: var(--magictool-lp-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 0 24px;
}

.magictool-lp-pricing-title {
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--magictool-lp-text);
	margin: 0 0 12px;
}

.magictool-lp-pricing-desc {
	font-size: 0.95rem;
	color: var(--magictool-lp-text-muted);
	line-height: 1.65;
	margin: 0 0 28px;
}

.magictool-lp-pricing-features {
	list-style: none;
	margin: 0 0 32px;
	padding: 0;
}

.magictool-lp-pricing-features li {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 0.95rem;
	color: var(--magictool-lp-text);
	margin-bottom: 14px;
}

.magictool-lp-pricing-features li:last-child {
	margin-bottom: 0;
}

.magictool-lp-pricing-features li svg {
	flex-shrink: 0;
	color: #059669;
}

.magictool-lp-pricing-compare {
	display: flex;
	flex-direction: column;
	gap: 24px;
	min-height: 100%;
}

.magictool-lp-pricing-compare-item {
	flex: 1;
	min-height: 0;
	background: rgba(255, 255, 255, 0.9);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.7);
	border-radius: 16px;
	padding: 28px 30px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	justify-content: center;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
}

.magictool-lp-pricing-compare-item:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.magictool-lp-pricing-compare-x {
	border-color: rgba(239, 68, 68, 0.25);
	background: linear-gradient(135deg, rgba(254, 242, 242, 0.95) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.magictool-lp-pricing-compare-check {
	border-color: rgba(16, 185, 129, 0.25);
	background: linear-gradient(135deg, rgba(240, 253, 244, 0.95) 0%, rgba(255, 255, 255, 0.95) 100%);
}

.magictool-lp-pricing-compare-item h4 {
	font-size: 1.05rem;
	font-weight: 600;
	margin: 0;
	color: var(--magictool-lp-text);
	display: flex;
	align-items: center;
	gap: 12px;
}

.magictool-lp-pricing-compare-item p {
	font-size: 0.9rem;
	color: var(--magictool-lp-text-muted);
	margin: 0;
	line-height: 1.65;
}

.magictool-lp-pricing-compare-icon {
	width: 28px;
	height: 28px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.9rem;
	font-weight: 700;
	border-radius: 50%;
	flex-shrink: 0;
}

.magictool-lp-pricing-compare-x .magictool-lp-pricing-compare-icon {
	color: #fff;
	background: #ef4444;
}

.magictool-lp-pricing-compare-check .magictool-lp-pricing-compare-icon {
	color: #fff;
	background: #10b981;
}

@media (max-width: 900px) {
	.magictool-lp-pricing-cards {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.magictool-lp-pricing-compare {
		min-height: auto;
	}

	.magictool-lp-pricing-compare-item {
		flex: none;
		min-height: auto;
	}
}

@media (max-width: 480px) {
	.magictool-lp-pricing-card {
		padding: 32px 24px;
	}

	.magictool-lp-pricing-compare-item {
		padding: 20px 24px;
	}

	.magictool-lp-pricing-compare-item h4 {
		font-size: 1rem;
	}

	.magictool-lp-pricing-compare-item p {
		font-size: 0.85rem;
	}
}

/* CTA */
.magictool-lp-cta {
	position: relative;
	padding: 100px 0;
	overflow: hidden;
}

.magictool-lp-cta-bg {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, var(--magictool-lp-primary) 0%, var(--magictool-lp-primary-dark) 100%);
}

.magictool-lp-cta-inner {
	position: relative;
	z-index: 1;
	text-align: center;
}

.magictool-lp-cta-title {
	font-size: clamp(2rem, 4vw, 2.75rem);
	font-weight: 700;
	color: #fff;
	margin: 0 0 14px;
}

.magictool-lp-cta-desc {
	font-size: 1.125rem;
	color: rgba(255, 255, 255, 0.9);
	margin: 0 0 32px;
}

.magictool-lp-cta .magictool-lp-btn-primary {
	background: #fff;
	color: var(--magictool-lp-primary);
}

.magictool-lp-cta .magictool-lp-btn-primary:hover {
	background: #f8fafc;
}

@media (max-width: 768px) {
	.magictool-lp-cta {
		padding: 64px 0;
	}

	.magictool-lp-cta-title {
		font-size: clamp(1.75rem, 6vw, 2.25rem);
	}

	.magictool-lp-cta-desc {
		font-size: 1rem;
		margin-bottom: 28px;
	}

	.magictool-lp-cta .magictool-lp-btn-lg {
		padding: 14px 28px;
		font-size: 15px;
	}
}

@media (max-width: 480px) {
	.magictool-lp-cta {
		padding: 48px 0;
	}

	.magictool-lp-cta-desc {
		margin-bottom: 24px;
	}

	.magictool-lp-cta .magictool-lp-btn-lg {
		padding: 12px 24px;
		font-size: 14px;
		width: 100%;
		max-width: 200px;
		justify-content: center;
		border-radius: 8px;
	}
}

/* Footer */
.magictool-lp-footer {
	position: relative;
	padding: 0;
	overflow: hidden;
}

.magictool-lp-footer-bg {
	position: absolute;
	inset: 0;
	background: linear-gradient(165deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

.magictool-lp-footer-bg::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.04) 1px, transparent 0);
	background-size: 24px 24px;
	pointer-events: none;
}

.magictool-lp-footer-inner {
	position: relative;
	z-index: 1;
	padding: 80px 24px 40px;
}

.magictool-lp-footer-main {
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	gap: 60px;
	margin-bottom: 56px;
	padding-bottom: 48px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.magictool-lp-footer-logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: #fff;
	font-size: 1.5rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	margin-bottom: 16px;
}

.magictool-lp-footer-logo:hover {
	color: #93c5fd;
}

.magictool-lp-footer-logo-icon {
	color: #93c5fd;
}

.magictool-lp-footer-tagline {
	font-size: 0.95rem;
	color: rgba(255, 255, 255, 0.7);
	line-height: 1.65;
	max-width: 320px;
	margin: 0;
}

.magictool-lp-footer-links {
	display: flex;
	gap: 48px;
}

.magictool-lp-footer-col h4 {
	font-size: 0.8rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: rgba(255, 255, 255, 0.5);
	margin: 0 0 20px;
}

.magictool-lp-footer-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.magictool-lp-footer-col li {
	margin-bottom: 12px;
}

.magictool-lp-footer-col li:last-child {
	margin-bottom: 0;
}

/* Nestable: block children (heading + text-link) spacing */
.magictool-lp-footer-col > * + * {
	margin-bottom: 12px;
}
.magictool-lp-footer-col > *:last-child {
	margin-bottom: 0;
}

.magictool-lp-footer-col a {
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	font-size: 0.95rem;
	transition: color 0.2s;
}

.magictool-lp-footer-col a:hover {
	color: #93c5fd;
}

.magictool-lp-footer-bottom {
	text-align: center;
}

.magictool-lp-footer-copyright {
	margin: 0;
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
	.magictool-lp-header-inner {
		padding: 12px 20px;
		gap: 16px;
	}

	.magictool-lp-header-logo {
		font-size: 1.1rem;
	}

	.magictool-lp-header-logo svg {
		width: 28px;
		height: 28px;
	}

	.magictool-lp-header-nav {
		display: none;
	}

	.magictool-lp-footer-main {
		grid-template-columns: 1fr;
		gap: 40px;
		margin-bottom: 32px;
		padding-bottom: 36px;
	}

	.magictool-lp-footer-links {
		flex-direction: column;
		gap: 32px;
	}

	.magictool-lp-footer-inner {
		padding: 56px 24px 32px;
	}
}
