:root {
	--bg: #f8f8fc;
	--surface: #ffffff;
	--ink: #16162f;
	--muted: #5f6478;
	--line: #e9e9f0;
	--primary: #5b43d6;
	--primary-deep: #442ebf;
	--accent: #38bdf8;
	--navy: #1e1b3c;
	--shadow: 0 20px 50px -20px rgba(91, 67, 214, 0.3);
}

* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
}

body {
	font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
	color: var(--ink);
	background:
		radial-gradient(circle at 18% 10%, rgba(91, 67, 214, 0.15), transparent 34%),
		radial-gradient(circle at 90% 6%, rgba(56, 189, 248, 0.14), transparent 30%),
		var(--bg);
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
	font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
	letter-spacing: -0.02em;
	margin: 0;
}

.bg-gradient-primary {
	background-image: linear-gradient(135deg, #5b43d6, #38bdf8);
}

.text-primary {
	color: #5b43d6;
}

.mobile-menu {
	display: none;
}

.mobile-menu.open {
	display: block;
}

p {
	margin: 0;
}

.container {
	width: min(1280px, 92vw);
	margin: 0 auto;
}

.hero {
	position: relative;
	overflow: clip;
	padding: 1.5rem 0 0.75rem;
}

.hero-glow {
	position: absolute;
	width: 440px;
	height: 440px;
	border-radius: 999px;
	right: -150px;
	top: -120px;
	background: conic-gradient(from 240deg, rgba(91, 67, 214, 0.45), rgba(56, 189, 248, 0.35), transparent);
	filter: blur(32px);
	z-index: -1;
}

.hero-grid {
	display: grid;
	gap: 1.4rem;
	grid-template-columns: 1.2fr 0.8fr;
	align-items: stretch;
}

.hero-copy,
.hero-panel {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 24px;
	box-shadow: var(--shadow);
}

.hero-copy {
	padding: clamp(1.35rem, 2.2vw, 2rem);
}

.hero-copy h1 {
	font-size: clamp(1.9rem, 4vw, 3.25rem);
	margin-top: 0.8rem;
}

.hero-sub {
	color: var(--muted);
	margin-top: 1rem;
	max-width: 64ch;
}

.badge,
.eyebrow,
.panel-tag,
.modal-pill {
	display: inline-block;
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.badge {
	background: linear-gradient(115deg, #f1ecff, #e9f6ff);
	color: #4b3ab8;
	border: 1px solid #d8d0ff;
	border-radius: 999px;
	padding: 0.45rem 0.82rem;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	margin-top: 1.35rem;
}

.btn {
	border: 0;
	cursor: pointer;
	border-radius: 999px;
	font-weight: 700;
	padding: 0.7rem 1.2rem;
	font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
	transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
	transform: translateY(-2px);
}

.btn-primary {
	background: linear-gradient(135deg, #5b43d6, #38bdf8);
	color: #ffffff;
	box-shadow: 0 20px 50px -20px rgba(91, 67, 214, 0.45);
}

.btn-secondary,
.btn-outline {
	background: #ffffff;
	color: #4b5563;
	border: 1px solid #e9e9f0;
}

.btn-outline:hover,
.btn-secondary:hover {
	border-color: rgba(91, 67, 214, 0.35);
}

.hero-meta {
	margin-top: 1.15rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
	color: var(--muted);
	font-size: 0.86rem;
}

.hero-meta span {
	background: #ffffff;
	border: 1px solid #e9e9f0;
	border-radius: 999px;
	padding: 0.35rem 0.65rem;
}

.hero-panel {
	background: linear-gradient(155deg, #4a34bf, #5b43d6 48%, #38bdf8);
	color: #f7fbff;
	padding: 1.2rem;
}

.panel-tag {
	color: #d7f2ff;
}

.hero-panel ul {
	margin: 0.95rem 0 0;
	padding-left: 1rem;
	display: grid;
	gap: 0.8rem;
}

.hero-panel strong {
	color: #fff1a3;
}

.panel-stats {
	margin-top: 1rem;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.75rem;
}

.panel-stats article {
	border: 1px solid rgba(255, 255, 255, 0.2);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.07);
	padding: 0.7rem;
	text-align: center;
}

.panel-stats h3 {
	font-size: 1.22rem;
}

.panel-stats p {
	margin-top: 0.15rem;
	font-size: 0.82rem;
	color: #e8f7ff;
}

.highlights {
	margin-top: 0.9rem;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
}

.highlights article,
.module,
.project-grid article,
.price-card,
.faq-list details {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 24px;
	box-shadow: var(--shadow);
}

.highlights article {
	padding: 1rem;
}

.highlights h3 {
	font-size: 1rem;
}

.highlights p {
	margin-top: 0.5rem;
	color: var(--muted);
	font-size: 0.93rem;
}

.section-head {
	margin-bottom: 1rem;
}

.eyebrow {
	color: var(--primary-deep);
}

.section-head h2 {
	margin-top: 0.35rem;
	font-size: clamp(1.35rem, 3.4vw, 2.3rem);
}

.curriculum,
.projects,
.pricing,
.faq {
	padding: 3rem 0 0;
}

.module-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1rem;
}

.module {
	padding: 1rem;
}

.module span {
	color: var(--accent);
	font-size: 0.8rem;
	font-weight: 700;
}

.module h3 {
	margin-top: 0.38rem;
	font-size: 1.05rem;
}

.module p {
	margin-top: 0.5rem;
	color: var(--muted);
	font-size: 0.94rem;
}

.module .btn {
	margin-top: 0.9rem;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.project-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1rem;
}

.project-grid article {
	padding: 1rem;
}

.project-grid h3 {
	font-size: 1rem;
}

.project-grid p {
	margin-top: 0.5rem;
	color: var(--muted);
	font-size: 0.93rem;
}

.billing-toggle {
	display: inline-flex;
	border: 1px solid #e9e9f0;
	background: #fff;
	border-radius: 999px;
	padding: 0.25rem;
	gap: 0.2rem;
}

.billing-btn {
	border: 0;
	background: transparent;
	border-radius: 999px;
	padding: 0.42rem 0.8rem;
	cursor: pointer;
	font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
	font-weight: 700;
	color: #374151;
}

.billing-btn.active {
	background: linear-gradient(135deg, #5b43d6, #38bdf8);
	color: #f3f9fc;
}

.pricing-grid {
	margin-top: 1.25rem;
	display: grid;
	gap: 1.5rem;
	grid-template-columns: repeat(2, 1fr);
}

.price-card {
	position: relative;
	overflow: hidden;
	padding: 3.4rem 2rem 2rem;
	border-radius: 26px;
	border: 1px solid rgba(91, 67, 214, 0.16);
	background:
		linear-gradient(155deg, rgba(255, 255, 255, 0.96), rgba(247, 250, 255, 0.9)),
		radial-gradient(circle at top right, rgba(56, 189, 248, 0.16), transparent 38%);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-card::before {
	content: "";
	position: absolute;
	inset: -1px;
	border-radius: inherit;
	padding: 1px;
	background: linear-gradient(140deg, rgba(91, 67, 214, 0.35), rgba(56, 189, 248, 0.35), rgba(91, 67, 214, 0.14));
	-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
	-webkit-mask-composite: xor;
	mask-composite: exclude;
	pointer-events: none;
}

.price-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 28px 70px -30px rgba(91, 67, 214, 0.5);
}

.price-card.featured {
	border-color: rgba(91, 67, 214, 0.4);
	background:
		linear-gradient(170deg, #fff, #f9f7ff),
		radial-gradient(circle at top right, rgba(56, 189, 248, 0.2), transparent 36%);
	transform: scale(1.03);
	box-shadow: 0 28px 70px -30px rgba(91, 67, 214, 0.5);
}

.price-card.featured:hover {
	transform: scale(1.03) translateY(-4px);
}

.popular-tag {
	position: absolute;
	top: 0.9rem;
	left: 1rem;
	transform: none;
	z-index: 2;
	white-space: nowrap;
	padding: 0.25rem 0.8rem;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #fff;
	background: linear-gradient(135deg, #5b43d6, #38bdf8);
	box-shadow: 0 6px 18px -10px rgba(91, 67, 214, 0.9);
}

.tier {
	color: var(--accent);
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
}

.price-card h3 {
	margin-top: 0.45rem;
	font-size: 1.35rem;
}

.price {
	margin-top: 1rem;
	font-size: 2.15rem;
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1;
}

.price-unit {
	font-size: 0.9rem;
	font-weight: 600;
	color: #5c6475;
}

.cycle {
	margin-top: 0.55rem;
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	align-items: center;
	color: var(--muted);
	font-size: 0.85rem;
}

.actual-price {
	border-radius: 999px;
	padding: 0.12rem 0.5rem;
	background: rgba(123, 129, 148, 0.12);
	text-decoration: line-through;
	color: #7b8194;
}

.discount-line {
	color: #1f2a44;
	font-weight: 600;
}

.discount-pill {
	position: absolute;
	top: 0.9rem;
	right: 1rem;
	z-index: 2;
	border-radius: 999px;
	padding: 0.2rem 0.6rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: #fff;
	background: linear-gradient(120deg, #ef4444, #f59e0b);
	box-shadow: 0 8px 20px -12px rgba(239, 68, 68, 0.85);
}

.price-card ul {
	margin: 1.1rem 0 1.3rem;
	padding-left: 1rem;
	display: grid;
	gap: 0.55rem;
	color: #344253;
	font-size: 0.92rem;
}

.faq-list {
	display: grid;
	gap: 0.75rem;
	margin-bottom: 2.8rem;
}

.faq-list details {
	padding: 0.9rem 1rem;
}

.faq-list summary {
	cursor: pointer;
	font-family: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
	list-style: none;
	position: relative;
	padding-right: 1.2rem;
}

.faq-list summary::after {
	content: "+";
	position: absolute;
	right: 0;
	top: 0;
	color: var(--primary-deep);
}

.faq-list details[open] summary::after {
	content: "-";
}

.faq-list details p {
	margin-top: 0.5rem;
	color: var(--muted);
}

[data-reveal] {
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 520ms ease, transform 520ms ease;
}

[data-reveal].reveal {
	opacity: 1;
	transform: translateY(0);
}

[data-reveal="left"] {
	transform: translateX(14px);
}

[data-reveal="left"].reveal {
	transform: translateX(0);
}

.enroll-modal {
	position: fixed;
	inset: 0;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(6, 18, 35, 0.6);
	padding: 1rem;
	z-index: 70;
}

.enroll-modal.open {
	display: flex;
}

.modal-card {
	position: relative;
	width: min(500px, 96vw);
	background: #fff;
	border-radius: 20px;
	border: 1px solid #e9e9f0;
	padding: 1.1rem;
	box-shadow: 0 24px 40px -24px rgba(91, 67, 214, 0.45);
}

.modal-pill {
	color: #5b43d6;
}

.modal-card h3 {
	margin-top: 0.35rem;
	font-size: 1.34rem;
}

.modal-close {
	position: absolute;
	border: 0;
	right: 0.7rem;
	top: 0.45rem;
	background: transparent;
	color: #6b7280;
	font-size: 1.45rem;
	cursor: pointer;
}

.modal-card form {
	margin-top: 0.9rem;
	display: grid;
	gap: 0.6rem;
}

.modal-card label {
	display: grid;
	gap: 0.3rem;
	font-size: 0.88rem;
	color: #334155;
}

.modal-card input,
.modal-card select {
	border: 1px solid #dbe1e8;
	border-radius: 10px;
	padding: 0.65rem;
	font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
	font-size: 0.95rem;
}

.btn.full {
	width: 100%;
}

.modal-note {
	margin-top: 0.65rem;
	color: #6b7280;
	font-size: 0.85rem;
}

.toast {
	position: fixed;
	left: 50%;
	bottom: 1.2rem;
	transform: translateX(-50%) translateY(15px);
	background: #2d225f;
	color: #f8fbff;
	border-radius: 999px;
	padding: 0.55rem 1rem;
	font-size: 0.86rem;
	opacity: 0;
	pointer-events: none;
	transition: opacity 250ms ease, transform 250ms ease;
	z-index: 80;
}

.toast.show {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

@media (max-width: 980px) {
	.hero-grid,
	.highlights,
	.module-grid,
	.project-grid,
	.pricing-grid {
		grid-template-columns: 1fr;
	}

	.price-card.featured {
		transform: none;
	}

	.hero {
		padding-top: 1.8rem;
	}
}
