:root {
	--csdc-blue-950: #06142f;
	--csdc-blue-900: #08245d;
	--csdc-blue-800: #0f3b8f;
	--csdc-blue-600: #1d4ed8;
	--csdc-blue-400: #38bdf8;
	--csdc-blue-200: #bfdbfe;
	--csdc-purple-900: #24124c;
	--csdc-purple-700: #4c1d95;
	--csdc-pink: #ec4899;
	--csdc-text: #f8fbff;
	--csdc-muted: #cbd5e1;
	--csdc-border: rgba(255,255,255,0.18);
	--csdc-card: rgba(255,255,255,0.085);
	--csdc-shadow: 0 24px 80px rgba(0,0,0,0.35);
}

.csdc-template-wrap,
.csdc-download-center,
.csdc-gate-shell,
.csdc-template-wrap * ,
.csdc-download-center * ,
.csdc-gate-shell * {
	box-sizing: border-box;
}

.csdc-template-wrap,
.csdc-download-center {
	max-width: 1220px;
	margin: 0 auto;
	padding: 24px 20px 42px;
	font-family: inherit;
	color: var(--csdc-text);
}

.csdc-template-wrap-single {
	padding-top: 24px;
}

.csdc-page-header {
	margin: 0 0 24px;
	text-align: center;
}

.csdc-kicker,
.csdc-eyebrow {
	margin: 0 0 7px;
	color: var(--csdc-blue-400);
	text-transform: uppercase;
	font-size: 12px;
	letter-spacing: 0.14em;
	font-weight: 800;
}

.csdc-page-header h1 {
	margin: 0 0 12px;
	font-size: clamp(32px, 7vw, 64px);
	line-height: 1.04;
	letter-spacing: -0.045em;
	color: var(--csdc-text);
}

.csdc-page-header p {
	margin: 0 auto;
	max-width: 840px;
	font-size: 1.02em;
	line-height: 1.7;
	color: var(--csdc-muted);
}

.csdc-gate-shell {
	width: min(1180px, calc(100vw - 18px));
	margin: 18px auto 42px;
	padding: 12px;
	border-radius: 28px;
	background:
		radial-gradient(circle at 8% 0%, rgba(56,189,248,0.34), transparent 34%),
		radial-gradient(circle at 98% 8%, rgba(29,78,216,0.30), transparent 32%),
		radial-gradient(circle at 84% 94%, rgba(236,72,153,0.34), transparent 36%),
		linear-gradient(135deg, var(--csdc-blue-950) 0%, var(--csdc-blue-900) 52%, var(--csdc-purple-900) 78%, rgba(236,72,153,0.42) 100%);
	box-shadow: var(--csdc-shadow);
	overflow: hidden;
	font-family: inherit;
	color: var(--csdc-text);
}

.csdc-gate-card {
	padding: clamp(22px, 6vw, 42px);
	border: 1px solid var(--csdc-border);
	border-radius: 24px;
	background: linear-gradient(135deg, rgba(29,78,216,0.36), rgba(7,17,38,0.74) 58%, rgba(236,72,153,0.20));
	position: relative;
	overflow: hidden;
}

.csdc-gate-card:after {
	content: "";
	position: absolute;
	right: -80px;
	top: -80px;
	width: 190px;
	height: 190px;
	border-radius: 999px;
	background: radial-gradient(circle, rgba(236,72,153,0.35), rgba(56,189,248,0.24), transparent 68%);
	pointer-events: none;
}

.csdc-gate-card > * {
	position: relative;
	z-index: 1;
}

.csdc-gate-card h1 {
	margin: 0;
	font-size: clamp(32px, 7vw, 62px);
	line-height: 1.02;
	letter-spacing: -0.045em;
	color: #fff;
}

.csdc-gate-copy {
	margin: 13px 0 0;
	max-width: 860px;
	color: var(--csdc-muted);
	font-size: 1.06em;
	line-height: 1.65;
}

.csdc-gdpr {
	margin: 18px 0 0;
	color: #fce7f3;
	font-size: 13px;
	font-weight: 700;
}

.csdc-gate-error {
	margin: 18px 0 0;
	padding: 12px 14px;
	border-radius: 14px;
	background: rgba(251,113,133,0.14);
	border: 1px solid rgba(251,113,133,0.36);
	color: #ffe4e6;
	font-weight: 700;
}

.csdc-gate-form {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 12px;
	align-items: end;
	margin-top: 28px;
}

.csdc-field {
	display: grid;
	gap: 8px;
	margin: 0;
	font: inherit;
}

.csdc-field span {
	color: #fff;
	font-size: 13px;
	font-weight: 800;
}

.csdc-field input,
.csdc-search {
	width: 100%;
	min-height: 52px;
	border: 1px solid rgba(255,255,255,0.18);
	border-radius: 14px;
	background: rgba(255,255,255,0.94);
	color: #0f172a;
	padding: 12px 16px;
	font: inherit;
	outline: none;
}

.csdc-field input:focus,
.csdc-search:focus {
	border-color: rgba(56,189,248,0.76);
	box-shadow: 0 0 0 3px rgba(56,189,248,0.18);
}

.csdc-hint {
	margin: 10px 0 0;
	color: var(--csdc-blue-200);
	font-size: 0.98em;
}

.csdc-login-notice,
.csdc-empty,
.csdc-unlocked-notice,
.csdc-card,
.csdc-product-card,
.csdc-panel {
	background:
		radial-gradient(circle at 8% 0%, rgba(56,189,248,0.24), transparent 32%),
		radial-gradient(circle at 86% 92%, rgba(236,72,153,0.26), transparent 36%),
		linear-gradient(135deg, rgba(6,20,47,0.98), rgba(8,36,93,0.96) 55%, rgba(36,18,76,0.94) 82%, rgba(236,72,153,0.22));
	border: 1px solid var(--csdc-border);
	border-radius: 28px;
	box-shadow: var(--csdc-shadow);
	position: relative;
	overflow: hidden;
	color: var(--csdc-text);
}

.csdc-card::before,
.csdc-product-card::before,
.csdc-unlocked-notice::before,
.csdc-panel::before {
	content: "";
	position: absolute;
	inset: 16px;
	border: 1px solid rgba(255,255,255,0.12);
	border-radius: 22px;
	pointer-events: none;
}

.csdc-unlocked-notice,
.csdc-empty {
	padding: 20px 24px;
	margin-bottom: 20px;
	color: var(--csdc-muted);
}

.csdc-unlocked-notice strong,
.csdc-empty strong {
	color: #fff;
}

.csdc-toolbar {
	margin-bottom: 26px;
}

.csdc-search {
	max-width: 460px;
	background: rgba(255,255,255,0.95);
	box-shadow: 0 10px 30px rgba(2, 6, 23, 0.18);
}

.csdc-grid {
	display: grid;
	grid-template-columns: repeat(var(--csdc-columns, 3), minmax(0, 1fr));
	gap: 24px;
}

.csdc-card {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.csdc-card > * {
	position: relative;
	z-index: 1;
}

.csdc-card-media {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 34px 28px 18px;
	min-height: 240px;
	text-decoration: none;
}

.csdc-card-image {
	width: 100%;
	height: 220px;
	object-fit: cover;
	border-radius: 18px;
	box-shadow: 0 20px 40px rgba(2, 6, 23, 0.35);
}

.csdc-file-icon {
	width: 96px;
	height: 96px;
	border-radius: 24px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(7,17,38,0.82);
	color: #fff;
	font-size: 40px;
	box-shadow: inset 0 1px 0 rgba(255,255,255,0.10);
}

.csdc-card-body {
	padding: 8px 28px 12px;
	flex: 1;
}

.csdc-card-body h3 {
	margin: 0 0 12px;
	font-size: 1.45rem;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.csdc-card-body h3 a,
.csdc-description-panel a {
	color: #fff;
	text-decoration: none;
}

.csdc-card-body p,
.csdc-product-summary,
.csdc-description-panel,
.csdc-info-panel p,
.csdc-access-box p,
.csdc-addon-item span,
.csdc-feature-box span {
	color: var(--csdc-muted);
	line-height: 1.7;
}

.csdc-tags,
.csdc-meta-row {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.csdc-tags {
	margin-bottom: 14px;
}

.csdc-tags span,
.csdc-meta-row span,
.csdc-protected-badge {
	display: inline-flex;
	align-items: center;
	padding: 8px 12px;
	border-radius: 999px;
	font-size: 0.88rem;
	font-weight: 800;
}

.csdc-tags span,
.csdc-meta-row span,
.csdc-protected-badge {
	background: rgba(255,255,255,0.10);
	border: 1px solid rgba(255,255,255,0.12);
	color: var(--csdc-blue-200);
}

.csdc-compatibility {
	margin-top: 12px;
	font-weight: 800;
	color: var(--csdc-blue-400);
}

.csdc-card-footer {
	display: flex;
	gap: 12px;
	justify-content: space-between;
	padding: 20px 28px 28px;
	border-top: 1px solid rgba(255,255,255,0.08);
	flex-wrap: wrap;
}

.csdc-button,
.csdc-gate-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 13px 20px;
	border: 1px solid rgba(255,255,255,0.18);
	border-radius: 14px;
	font: inherit;
	font-weight: 800;
	text-decoration: none !important;
	line-height: 1;
	white-space: nowrap;
	cursor: pointer;
	box-shadow: 0 10px 24px rgba(0,0,0,0.14);
	transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.csdc-button:hover,
.csdc-button:focus,
.csdc-gate-button:hover,
.csdc-gate-button:focus {
	transform: translateY(-1px);
	border-color: rgba(56,189,248,0.65);
	color: #fff;
}

.csdc-button-primary {
	border: none;
	background: linear-gradient(135deg, var(--csdc-blue-800), var(--csdc-blue-600) 52%, var(--csdc-pink));
	color: #fff !important;
}

.csdc-button-secondary {
	background: rgba(255,255,255,0.10);
	color: #fff !important;
}

.csdc-button-disabled {
	background: rgba(255,255,255,0.10);
	color: #cbd5e1 !important;
	cursor: not-allowed;
}

.csdc-product-card {
	padding: 34px;
}

.csdc-product-card > * {
	position: relative;
	z-index: 1;
}

.csdc-product-grid {
	display: grid;
	grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
	gap: 34px;
}

.csdc-product-left {
	padding-right: 14px;
	border-right: 1px solid rgba(255,255,255,0.10);
}

.csdc-product-right {
	padding-left: 6px;
}

.csdc-product-image-panel,
.csdc-stat-box,
.csdc-addon-box,
.csdc-feature-box,
.csdc-access-box {
	background: rgba(7,17,38,0.52);
	border: 1px solid var(--csdc-border);
	border-radius: 22px;
}

.csdc-product-image-panel {
	padding: 18px;
	margin-bottom: 20px;
}

.csdc-product-image {
	width: 100%;
	height: auto;
	max-height: 360px;
	object-fit: cover;
	border-radius: 18px;
	display: block;
}

.csdc-product-image-placeholder {
	min-height: 320px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 64px;
	background: rgba(7,17,38,0.72);
	color: #fff;
}

.csdc-stat-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin-bottom: 16px;
}

.csdc-stat-box {
	padding: 16px;
}

.csdc-stat-label {
	display: block;
	font-size: 0.82rem;
	font-weight: 800;
	color: var(--csdc-muted);
	margin-bottom: 5px;
}

.csdc-stat-box strong,
.csdc-spec-row strong,
.csdc-addon-item strong,
.csdc-feature-box strong,
.csdc-info-panel h2,
.csdc-addon-box h3,
.csdc-access-box h3,
.csdc-description-panel h1,
.csdc-description-panel h2,
.csdc-description-panel h3,
.csdc-description-panel h4,
.csdc-description-panel strong {
	color: #fff;
}

.csdc-spec-list {
	border-top: 1px solid rgba(255,255,255,0.10);
	border-bottom: 1px solid rgba(255,255,255,0.10);
	margin: 18px 0 20px;
}

.csdc-spec-row {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding: 15px 0;
	border-bottom: 1px solid rgba(255,255,255,0.10);
}

.csdc-spec-row:last-child {
	border-bottom: 0;
}

.csdc-spec-row span {
	color: var(--csdc-muted);
	font-weight: 800;
}

.csdc-addon-box,
.csdc-access-box {
	padding: 18px;
}

.csdc-addon-box h3,
.csdc-access-box h3,
.csdc-info-panel h2 {
	margin: 0 0 14px;
	font-size: 1.25rem;
}

.csdc-addon-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.csdc-addon-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 14px 16px;
	border: 1px solid rgba(255,255,255,0.12);
	border-radius: 14px;
	background: rgba(255,255,255,0.08);
	text-decoration: none;
}

.csdc-addon-item em {
	font-style: normal;
	font-weight: 800;
	font-size: 0.82rem;
	color: var(--csdc-blue-200);
}

.csdc-badge-row {
	margin-bottom: 18px;
}

.csdc-product-title {
	margin: 0 0 16px;
	font-size: clamp(2.2rem, 4.5vw, 4.3rem);
	line-height: 1.03;
	letter-spacing: -0.045em;
	color: #fff;
	word-break: break-word;
}

.csdc-product-summary {
	font-size: 1.08em;
	max-width: 940px;
	margin: 0 0 24px;
}

.csdc-feature-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	padding-bottom: 24px;
	margin-bottom: 24px;
	border-bottom: 1px solid rgba(255,255,255,0.10);
}

.csdc-feature-box {
	padding: 18px 16px;
}

.csdc-feature-box strong,
.csdc-feature-box span {
	display: block;
}

.csdc-feature-box strong {
	margin-bottom: 8px;
}

.csdc-info-columns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	margin-bottom: 24px;
}

.csdc-info-panel ul {
	margin: 0;
	padding-left: 20px;
	color: var(--csdc-muted);
	line-height: 1.8;
}

.csdc-access-box {
	margin-bottom: 24px;
	background: linear-gradient(135deg, rgba(7,17,38,0.62), rgba(15,59,143,0.28) 62%, rgba(236,72,153,0.14));
}

.csdc-access-actions {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 14px;
	align-items: center;
	margin-top: 14px;
}

.csdc-access-indicator {
	min-height: 54px;
	display: flex;
	align-items: center;
	padding: 0 16px;
	border: 1px solid rgba(255,255,255,0.14);
	border-radius: 14px;
	background: rgba(7,17,38,0.58);
	color: var(--csdc-muted);
	font-weight: 700;
}

.csdc-access-button {
	min-width: 220px;
}

.csdc-primary-download-wrap {
	margin-bottom: 28px;
}

.csdc-primary-download-button {
	width: 100%;
	min-height: 60px;
	font-size: 1.08em;
}

.csdc-description-panel {
	border-top: 1px solid rgba(255,255,255,0.10);
	padding-top: 22px;
}

.csdc-description-panel > :first-child {
	margin-top: 0;
}

@media (max-width: 1100px) {
	.csdc-product-grid {
		grid-template-columns: 1fr;
	}

	.csdc-product-left {
		border-right: 0;
		border-bottom: 1px solid rgba(255,255,255,0.10);
		padding-right: 0;
		padding-bottom: 26px;
	}

	.csdc-product-right {
		padding-left: 0;
		padding-top: 8px;
	}
}

@media (max-width: 900px) {
	.csdc-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.csdc-feature-grid,
	.csdc-info-columns,
	.csdc-gate-form {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 640px) {
	.csdc-template-wrap,
	.csdc-download-center {
		padding: 18px 14px;
	}

	.csdc-grid,
	.csdc-stat-grid,
	.csdc-access-actions {
		grid-template-columns: 1fr;
	}

	.csdc-card-footer,
	.csdc-spec-row {
		flex-direction: column;
		align-items: stretch;
	}

	.csdc-product-card {
		padding: 20px;
	}

	.csdc-product-title {
		font-size: 2.1rem;
	}
}
