/* ==========================================================================
   CoolToYou WordPress Theme — Architectural Dark Studio Design System
   ========================================================================== */

:root {
	--cty-bg-darker: #070b14;
	--cty-bg-dark: #0c1322;
	--cty-bg-card-dark: #131c31;
	--cty-bg-light: #f3f7fc;
	--cty-bg-white: #ffffff;
	--cty-yellow: #22d3ee;
	--cty-yellow-hover: #5eead4;
	--cty-accent-grad: linear-gradient(135deg, #22d3ee 0%, #38bdf8 100%);
	--cty-accent-grad-hover: linear-gradient(135deg, #67e8f9 0%, #60a5fa 100%);
	--cty-ink: #0a1426;
	--cty-ink-muted: #526076;
	--cty-text-light: #f8fafc;
	--cty-text-muted: #94a3b8;
	--cty-border-dark: rgba(148, 163, 184, 0.12);
	--cty-border-light: #e2e8f0;
	--cty-font-display: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	--cty-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	--cty-container: 1280px;
	--cty-radius: 8px;
	--cty-shadow-sm: 0 4px 16px rgba(10, 20, 38, 0.06);
	--cty-shadow-md: 0 14px 36px rgba(10, 20, 38, 0.12);
	--cty-shadow-lg: 0 24px 60px rgba(4, 9, 20, 0.36);
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	overflow-x: clip;
}

body {
	margin: 0;
	font-family: var(--cty-font-body);
	font-size: 16px;
	line-height: 1.6;
	color: var(--cty-ink);
	background: var(--cty-bg-dark);
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
}

body.cty-lock-scroll {
	overflow: hidden;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: inherit;
	text-decoration: none;
}

h1, h2, h3, h4 {
	font-family: var(--cty-font-display);
	margin: 0;
	line-height: 1.2;
}

.cty-container {
	width: 100%;
	max-width: var(--cty-container);
	margin: 0 auto;
	padding: 0 28px;
}

.cty-relative {
	position: relative;
	z-index: 2;
}

/* Architectural Vertical 6-Column Grid Lines */
.cty-has-grid,
.cty-hero {
	position: relative;
	overflow: hidden;
}

.cty-grid-lines {
	position: absolute;
	inset: 0;
	max-width: var(--cty-container);
	margin: 0 auto;
	padding: 0 28px;
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	pointer-events: none;
	z-index: 1;
}

.cty-grid-lines span {
	border-right: 1px solid rgba(255, 255, 255, 0.045);
	height: 100%;
}

.cty-grid-lines span:first-child {
	border-left: 1px solid rgba(255, 255, 255, 0.045);
}

/* ==========================================================================
   1. Top Ecosystem Utility Bar
   ========================================================================== */

.cty-topbar {
	background: var(--cty-bg-darker);
	border-bottom: 1px solid rgba(255, 255, 255, 0.04);
	font-size: 12.5px;
	position: relative;
	z-index: 50;
}

.cty-topbar-inner {
	display: flex;
	align-items: stretch;
	justify-content: space-between;
	min-height: 38px;
	gap: 10px;
}

.cty-eco-tabs {
	display: flex;
	align-items: stretch;
	min-width: 0;
	overflow-x: auto;
	scrollbar-width: none;
}

.cty-eco-tabs::-webkit-scrollbar {
	display: none;
}

.cty-eco-tab {
	display: inline-flex;
	align-items: center;
	padding: 0 20px;
	color: #9e9e9e;
	font-weight: 500;
	letter-spacing: 0.01em;
	transition: color 0.2s ease, background-color 0.2s ease;
	white-space: nowrap;
}

.cty-eco-tab:hover {
	color: #ffffff;
}

.cty-eco-tab.is-active {
	background: var(--cty-bg-dark);
	color: #ffffff;
	font-weight: 600;
}

.cty-topbar-actions {
	display: flex;
	align-items: center;
}

.cty-login-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	background: transparent;
	border: 0;
	color: #b5b5b5;
	font-family: inherit;
	font-size: 12.5px;
	font-weight: 500;
	cursor: pointer;
	padding: 6px 4px;
	transition: color 0.2s ease;
}

.cty-login-link:hover {
	color: var(--cty-yellow);
}

/* ==========================================================================
   2. Main Header & Navigation
   ========================================================================== */

.cty-header {
	background: var(--cty-bg-dark);
	position: sticky;
	top: 0;
	z-index: 45;
	transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.cty-header.is-scrolled {
	background: rgba(10, 17, 32, 0.92);
	backdrop-filter: blur(12px);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35);
}

.cty-header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 86px;
	gap: 24px;
}

.cty-brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

.cty-brand-mark {
	width: 38px;
	height: 38px;
	object-fit: contain;
	flex-shrink: 0;
}

.cty-brand-wordmark {
	display: flex;
	flex-direction: column;
}

.cty-brand-name {
	font-family: var(--cty-font-display);
	font-size: 19px;
	font-weight: 800;
	letter-spacing: 0.2em;
	color: #ffffff;
	line-height: 1.05;
}

.cty-brand-sub {
	display: flex;
	align-items: center;
	gap: 6px;
	width: 100%;
	margin-top: 4px;
	font-size: 7.5px;
	font-weight: 600;
	letter-spacing: 0.14em;
	color: #9e9e9e;
	text-transform: uppercase;
	white-space: nowrap;
}

.cty-brand-sub i {
	flex: 1 1 auto;
	display: inline-block;
	min-width: 10px;
	height: 1px;
	background: rgba(255, 255, 255, 0.35);
}

.cty-nav-list {
	display: flex;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 32px;
}

.cty-nav-list a {
	color: #dedede;
	font-size: 13.5px;
	font-weight: 500;
	transition: color 0.2s ease;
	position: relative;
	padding: 6px 0;
}

.cty-nav-list a::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 0;
	height: 2px;
	background: var(--cty-yellow);
	transition: width 0.22s ease;
}

.cty-nav-list a:hover {
	color: #ffffff;
}

.cty-nav-list a:hover::after {
	width: 100%;
}

/* Staggered 3-Line Minimalist Burger matching Reference */
.cty-burger {
	background: transparent;
	border: 0;
	width: 36px;
	height: 36px;
	padding: 6px;
	display: inline-flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	cursor: pointer;
}

.cty-burger span {
	display: block;
	height: 1.5px;
	background: #ffffff;
	border-radius: 2px;
	transition: transform 0.2s ease, width 0.2s ease, background-color 0.2s ease;
}

.cty-burger span:nth-child(1) { width: 22px; margin-left: auto; }
.cty-burger span:nth-child(2) { width: 16px; margin-left: 2px; }
.cty-burger span:nth-child(3) { width: 20px; margin-left: auto; }

.cty-burger:hover span {
	background: var(--cty-yellow);
	width: 22px;
}

/* ==========================================================================
   3. Off-Canvas Drawer
   ========================================================================== */

.cty-drawer {
	position: fixed;
	inset: 0;
	z-index: 100;
	pointer-events: none;
	visibility: hidden;
}

.cty-drawer.is-open {
	pointer-events: auto;
	visibility: visible;
}

.cty-drawer-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.65);
	opacity: 0;
	transition: opacity 0.28s ease;
}

.cty-drawer.is-open .cty-drawer-backdrop {
	opacity: 1;
}

.cty-drawer-panel {
	position: absolute;
	top: 0;
	right: 0;
	width: min(390px, 100%);
	height: 100%;
	background: #0a1120;
	color: #ffffff;
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 24px;
	overflow-y: auto;
	transform: translateX(100%);
	transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
	border-left: 1px solid rgba(148, 163, 184, 0.14);
}

.cty-drawer.is-open .cty-drawer-panel {
	transform: translateX(0);
}

.cty-drawer-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.cty-drawer-close,
.cty-modal-close {
	background: rgba(255, 255, 255, 0.08);
	border: 0;
	color: #ffffff;
	width: 34px;
	height: 34px;
	border-radius: 6px;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}

.cty-drawer-close:hover,
.cty-modal-close:hover {
	background: var(--cty-yellow);
	color: var(--cty-ink);
}

.cty-drawer-search {
	display: flex;
	background: #131c31;
	border: 1px solid rgba(148, 163, 184, 0.18);
	border-radius: 6px;
	overflow: hidden;
}

.cty-drawer-search input {
	flex: 1;
	background: transparent;
	border: 0;
	color: #fff;
	padding: 11px 14px;
	font-size: 13.5px;
	outline: none;
}

.cty-drawer-search button {
	background: var(--cty-yellow);
	color: var(--cty-ink);
	border: 0;
	padding: 0 16px;
	font-weight: 700;
	cursor: pointer;
}

.cty-drawer-label {
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #888;
	margin: 0 0 10px;
}

.cty-drawer-nav ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.cty-drawer-nav li a {
	display: block;
	padding: 10px 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	color: #e5e5e5;
	font-weight: 500;
	transition: color 0.2s ease, padding-left 0.2s ease;
}

.cty-drawer-nav li a:hover {
	color: var(--cty-yellow);
	padding-left: 6px;
}

.cty-drawer-card {
	background: #131c31;
	border: 1px solid rgba(34, 211, 238, 0.25);
	border-radius: 10px;
	padding: 18px;
}

.cty-drawer-card h4 {
	margin: 10px 0 6px;
	font-size: 16px;
	color: #fff;
}

.cty-drawer-card p {
	margin: 0 0 14px;
	font-size: 13px;
	color: #a6a6a6;
}

.cty-drawer-meta {
	margin-top: auto;
	font-size: 12.5px;
	color: #9e9e9e;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding-top: 14px;
}

.cty-drawer-meta a {
	color: var(--cty-yellow);
}

/* ==========================================================================
   4. Buttons & Badges
   ========================================================================== */

.cty-btn-primary {
	position: relative;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	background: var(--cty-accent-grad);
	color: var(--cty-ink);
	font-family: var(--cty-font-display);
	font-size: 14px;
	font-weight: 700;
	padding: 15px 28px;
	border-radius: 8px;
	border: 0;
	cursor: pointer;
	box-shadow: 0 6px 18px rgba(34, 211, 238, 0.22);
	transition:
		background 0.28s ease,
		transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.cty-btn-primary::before,
.cty-btn-dark::before {
	content: "";
	position: absolute;
	top: 0;
	left: -130%;
	width: 55%;
	height: 100%;
	background: linear-gradient(100deg, transparent 0%, rgba(255, 255, 255, 0.42) 50%, transparent 100%);
	transform: skewX(-20deg);
	pointer-events: none;
	transition: left 0.58s cubic-bezier(0.16, 1, 0.3, 1);
}

.cty-btn-primary:hover {
	background: var(--cty-accent-grad-hover);
	transform: translateY(-3px) scale(1.015);
	box-shadow: 0 14px 32px rgba(34, 211, 238, 0.38);
}

.cty-btn-primary:hover::before,
.cty-btn-dark:hover::before {
	left: 145%;
}

.cty-btn-primary:active,
.cty-btn-dark:active,
.cty-btn-outline:active,
.cty-btn-ghost:active,
.cty-btn-preview:active,
.cty-btn-details:active,
.cty-filter-btn:active,
.cty-eco-pill:active {
	transform: translateY(0) scale(0.97);
}

.cty-btn-primary .cty-arrow {
	display: inline-block;
	transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.cty-btn-primary:hover .cty-arrow {
	transform: translateX(5px);
}

.cty-btn-sm {
	padding: 9px 18px;
	font-size: 13px;
}

.cty-btn-full {
	width: 100%;
	margin-top: 10px;
}

.cty-btn-ghost {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 24px;
	border-radius: 8px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	color: #ffffff;
	font-size: 14px;
	font-weight: 600;
	background: rgba(255, 255, 255, 0.02);
	cursor: pointer;
	transition:
		border-color 0.25s ease,
		color 0.25s ease,
		background 0.25s ease,
		transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.25s ease;
}

.cty-btn-ghost:hover {
	border-color: var(--cty-yellow);
	color: var(--cty-yellow);
	background: rgba(34, 211, 238, 0.08);
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(34, 211, 238, 0.16);
}

.cty-btn-dark {
	position: relative;
	overflow: hidden;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 28px;
	border-radius: 8px;
	background: linear-gradient(135deg, #0a1426 0%, #13223d 100%);
	border: 1px solid rgba(34, 211, 238, 0.22);
	color: #ffffff;
	font-family: var(--cty-font-display);
	font-size: 14px;
	font-weight: 700;
	box-shadow: 0 8px 20px rgba(10, 20, 38, 0.16);
	transition:
		background 0.28s ease,
		border-color 0.28s ease,
		color 0.25s ease,
		transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.cty-btn-dark::before {
	background: linear-gradient(100deg, transparent 0%, rgba(34, 211, 238, 0.24) 50%, transparent 100%);
}

.cty-btn-dark:hover {
	background: linear-gradient(135deg, #0c182e 0%, #162b4d 100%);
	border-color: rgba(34, 211, 238, 0.65);
	color: var(--cty-yellow);
	transform: translateY(-3px) scale(1.015);
	box-shadow: 0 16px 34px rgba(10, 20, 38, 0.26), 0 0 22px rgba(34, 211, 238, 0.18);
}

.cty-btn-outline {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 13px 24px;
	border-radius: 8px;
	border: 1.5px solid #cbd5e1;
	color: var(--cty-ink);
	font-family: var(--cty-font-display);
	font-size: 14px;
	font-weight: 700;
	background: transparent;
	transition:
		border-color 0.25s ease,
		background 0.25s ease,
		color 0.25s ease,
		transform 0.26s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.26s ease;
}

.cty-btn-outline:hover {
	border-color: var(--cty-ink);
	background: #ffffff;
	transform: translateY(-2px);
	box-shadow: 0 10px 24px rgba(10, 20, 38, 0.1);
}

.cty-btn-outline-sm {
	display: inline-flex;
	align-items: center;
	padding: 8px 14px;
	border-radius: 6px;
	border: 1px solid rgba(255, 255, 255, 0.25);
	color: #fff;
	font-size: 12.5px;
	font-weight: 600;
	transition: border-color 0.22s ease, color 0.22s ease, background 0.22s ease, transform 0.22s ease;
}

.cty-btn-outline-sm:hover {
	border-color: var(--cty-yellow);
	color: var(--cty-yellow);
	background: rgba(34, 211, 238, 0.08);
	transform: translateY(-1px);
}

.cty-pill-yellow {
	display: inline-block;
	background: rgba(34, 211, 238, 0.14);
	color: var(--cty-yellow);
	border: 1px solid rgba(34, 211, 238, 0.36);
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: 99px;
}

/* ==========================================================================
   5. Hero Section (CoolToYou Midnight Navy & Electric Cyan Three.js Stage)
   ========================================================================== */

.cty-hero {
	background:
		radial-gradient(circle at 74% 44%, rgba(34, 211, 238, 0.11) 0%, rgba(12, 19, 34, 0) 46%),
		radial-gradient(circle at 18% 22%, rgba(59, 130, 246, 0.09) 0%, rgba(12, 19, 34, 0) 44%),
		var(--cty-bg-dark);
	color: #ffffff;
	padding-top: 20px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: clamp(580px, calc(100vh - 125px), 1080px);
	min-height: clamp(580px, calc(100svh - 125px), 1080px);
	max-width: 100%;
	position: relative;
}

.cty-hero.is-block-hovered {
	cursor: pointer;
}

.cty-three-canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	pointer-events: none;
	display: block;
}

.cty-hero-grid {
	position: relative;
	z-index: 3;
	flex: 1 0 auto;
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	align-items: center;
	gap: 24px;
	padding-top: 12px;
	padding-bottom: 28px;
	min-width: 0;
}

.cty-hero-content {
	position: relative;
	padding-right: 12px;
	min-width: 0;
}

.cty-reveal {
	opacity: 0;
	transform: translateY(18px);
	animation: ctyFadeUp 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.cty-reveal-1 { animation-delay: 0.06s; }
.cty-reveal-2 { animation-delay: 0.14s; }
.cty-reveal-3 { animation-delay: 0.24s; }
.cty-reveal-4 { animation-delay: 0.34s; }

@keyframes ctyFadeUp {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.cty-cursor-ring {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 95000;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	border: 2.5px solid var(--cty-yellow);
	box-shadow: 0 0 20px rgba(34, 211, 238, 0.4);
	pointer-events: none;
	opacity: 0;
	will-change: transform, opacity;
	transition:
		opacity 0.28s ease,
		border-color 0.22s ease,
		box-shadow 0.22s ease,
		background-color 0.22s ease;
}

.cty-cursor-ring::before {
	content: "";
	position: absolute;
	inset: -7px;
	border-radius: 50%;
	border: 1.5px dashed rgba(34, 211, 238, 0.72);
	opacity: 0;
	pointer-events: none;
	animation: ctySpinOrbit 8s linear infinite;
	transition: opacity 0.22s ease, border-color 0.22s ease;
}

.cty-cursor-ring::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: var(--cty-yellow);
	transform: translate(-50%, -50%) scale(0);
	opacity: 0;
	transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease, background-color 0.22s ease;
}

.cty-cursor-ring.is-ready {
	opacity: 0.95;
}

.cty-cursor-ring.is-hidden {
	opacity: 0;
}

.cty-cursor-ring.is-following {
	opacity: 1;
	background: rgba(34, 211, 238, 0.06);
	box-shadow: 0 0 24px rgba(34, 211, 238, 0.45), inset 0 0 10px rgba(34, 211, 238, 0.14);
}

.cty-cursor-ring.is-following::after {
	transform: translate(-50%, -50%) scale(1);
	opacity: 0.95;
}

.cty-cursor-ring.is-card-hover::before,
.cty-cursor-ring.is-locked::before {
	opacity: 0.95;
}

.cty-cursor-ring.is-interactive {
	border-color: #67e8f9;
	background: rgba(34, 211, 238, 0.14);
	box-shadow: 0 0 28px rgba(56, 189, 248, 0.55);
}

.cty-cursor-ring.is-interactive::after {
	transform: translate(-50%, -50%) scale(0);
	opacity: 0;
}

.cty-cursor-ring.is-locked {
	border-color: #ffffff;
	box-shadow: 0 0 32px rgba(34, 211, 238, 0.72);
}

/* White / Light Surface Inversion -> Crisp Obsidian Black Ring + Orbital Effects */
.cty-cursor-ring.is-on-light {
	border-color: #0a0f1a;
	background: rgba(10, 15, 26, 0.04);
	box-shadow: 0 0 18px rgba(10, 15, 26, 0.16), inset 0 0 8px rgba(10, 15, 26, 0.06);
}

.cty-cursor-ring.is-on-light::before {
	border-color: rgba(10, 15, 26, 0.58);
}

.cty-cursor-ring.is-on-light::after {
	background: #0a0f1a;
}

.cty-cursor-ring.is-on-light.is-interactive {
	border-color: #000000;
	background: rgba(10, 15, 26, 0.11);
	box-shadow: 0 0 22px rgba(10, 15, 26, 0.24);
}

.cty-cursor-ring.is-on-light.is-card-hover {
	border-color: #05070d;
	background: rgba(10, 15, 26, 0.06);
	box-shadow: 0 10px 26px rgba(10, 15, 26, 0.18);
}

.cty-cursor-ripple {
	position: fixed;
	top: 0;
	left: 0;
	width: 30px;
	height: 30px;
	margin: -15px 0 0 -15px;
	border-radius: 50%;
	border: 2px solid var(--cty-yellow);
	box-shadow: 0 0 16px rgba(34, 211, 238, 0.45);
	pointer-events: none;
	z-index: 94999;
	animation: ctyRippleOut 0.52s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.cty-cursor-ripple.is-on-light {
	border-color: #0a0f1a;
	box-shadow: 0 0 14px rgba(10, 15, 26, 0.24);
}

@keyframes ctySpinOrbit {
	to {
		transform: rotate(360deg);
	}
}

@keyframes ctyRippleOut {
	0% {
		opacity: 0.78;
		transform: scale(0.45);
	}
	100% {
		opacity: 0;
		transform: scale(2.85);
	}
}

.cty-hero-title {
	font-size: clamp(34px, 4vw, 52px);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: #ffffff;
	margin-bottom: 22px;
	max-width: 610px;
}

.cty-hero-subtitle {
	font-size: 16px;
	line-height: 1.65;
	color: var(--cty-text-muted);
	margin: 0 0 34px;
	max-width: 530px;
}

.cty-hero-cta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
}

.cty-hero-visual {
	position: relative;
	height: 410px;
	min-width: 0;
	pointer-events: none;
}

/* Bottom Showcase Strip (Infinite Smooth Marquee + Interactive Hover Tilt) */
.cty-hero-showcase {
	position: relative;
	z-index: 4;
	padding: 18px 0 0;
	margin-top: auto;
	width: 100%;
	max-width: 100%;
	min-width: 0;
	overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
	mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
}

.cty-showcase-track {
	display: flex;
	align-items: stretch;
	gap: 16px;
	width: max-content;
	perspective: 1100px;
	will-change: transform;
	cursor: grab;
	touch-action: pan-y;
}

.cty-showcase-track.is-dragging {
	cursor: grabbing;
	user-select: none;
}

.cty-showcase-item {
	flex: 0 0 clamp(250px, 20.5vw, 310px);
	min-width: 0;
}

.cty-showcase-frame {
	position: relative;
	background: #ffffff;
	padding: 5px 5px 0;
	border-radius: 6px 6px 0 0;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.35);
	transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(0);
	transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease;
	will-change: transform;
}

.cty-showcase-frame::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(34, 211, 238, 0.28), transparent 60%);
	opacity: 0;
	pointer-events: none;
	z-index: 2;
	transition: opacity 0.25s ease;
}

.cty-showcase-item:hover .cty-showcase-frame {
	transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-8px);
	box-shadow: 0 -8px 32px rgba(34, 211, 238, 0.2), 0 16px 36px rgba(4, 9, 20, 0.55);
}

.cty-showcase-item:hover .cty-showcase-frame::before {
	opacity: 1;
}

.cty-showcase-frame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	border-radius: 3px 3px 0 0;
	-webkit-user-drag: none;
	user-select: none;
}

.cty-showcase-overlay {
	position: absolute;
	inset: 5px 5px 0;
	background: linear-gradient(180deg, rgba(16, 16, 16, 0.08) 0%, rgba(16, 16, 16, 0.88) 100%);
	opacity: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 14px;
	gap: 10px;
	transition: opacity 0.22s ease;
}

.cty-showcase-item:hover .cty-showcase-overlay {
	opacity: 1;
}

.cty-showcase-info small {
	display: block;
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--cty-yellow);
	font-weight: 700;
}

.cty-showcase-info strong {
	display: block;
	font-size: 14px;
	color: #ffffff;
}

.cty-showcase-btns {
	display: flex;
	gap: 8px;
}

.cty-mini-btn {
	font-size: 11.5px;
	font-weight: 700;
	padding: 6px 12px;
	border-radius: 4px;
	border: 1px solid rgba(255, 255, 255, 0.35);
	background: rgba(0, 0, 0, 0.45);
	color: #fff;
	cursor: pointer;
}

.cty-mini-btn.is-yellow {
	background: var(--cty-yellow);
	border-color: var(--cty-yellow);
	color: var(--cty-ink);
}

/* ==========================================================================
   6. Sections & Headings
   ========================================================================== */

.cty-section {
	padding: 74px 0;
}

.cty-section-light {
	background: var(--cty-bg-light);
	color: var(--cty-ink);
}

.cty-section-white {
	background: var(--cty-bg-white);
	color: var(--cty-ink);
}

.cty-section-dark {
	background: var(--cty-bg-dark);
	color: #ffffff;
}

.cty-eyebrow {
	display: inline-block;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: #6b7280;
	margin-bottom: 10px;
}

.cty-eyebrow.is-yellow {
	color: var(--cty-yellow);
}

.cty-section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 44px;
	flex-wrap: wrap;
}

.cty-section-head h2,
.cty-section-center-head h2 {
	font-size: clamp(28px, 3vw, 38px);
	font-weight: 800;
	letter-spacing: -0.02em;
}

.cty-section-head.is-dark h2 {
	color: #ffffff;
}

.cty-head-note {
	max-width: 400px;
	margin: 0;
	font-size: 15px;
	color: var(--cty-text-muted);
}

.cty-section-center-head {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 52px;
}

.cty-section-center-head p {
	margin: 14px 0 0;
	color: var(--cty-ink-muted);
}

.cty-section-center-cta {
	text-align: center;
	margin-top: 46px;
}

/* ==========================================================================
   7. Filterable Theme Catalog Cards
   ========================================================================== */

.cty-filter-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.cty-filter-btn {
	background: #ffffff;
	border: 1px solid var(--cty-border-light);
	color: var(--cty-ink-muted);
	padding: 9px 17px;
	border-radius: 99px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition:
		border-color 0.22s ease,
		color 0.22s ease,
		background 0.22s ease,
		transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.25s ease;
}

.cty-filter-btn:hover {
	border-color: rgba(34, 211, 238, 0.6);
	color: var(--cty-ink);
	transform: translateY(-2px);
	box-shadow: 0 8px 18px rgba(10, 20, 38, 0.08);
}

.cty-filter-btn.is-active {
	background: var(--cty-ink);
	border-color: var(--cty-ink);
	color: var(--cty-yellow);
	box-shadow: 0 8px 20px rgba(10, 20, 38, 0.16);
}

.cty-themes-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	transition: opacity 0.2s ease;
}

.cty-themes-grid.is-loading {
	opacity: 0.45;
}

.cty-theme-card {
	position: relative;
	background: #ffffff;
	border: 1px solid var(--cty-border-light);
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: var(--cty-shadow-sm);
	transition:
		transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.32s cubic-bezier(0.22, 1, 0.36, 1),
		border-color 0.28s ease;
	will-change: transform;
}

.cty-theme-card::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3px;
	background: var(--cty-accent-grad);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
	z-index: 3;
	pointer-events: none;
}

.cty-theme-card::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	opacity: 0;
	z-index: 1;
	background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(34, 211, 238, 0.11), transparent 65%);
	transition: opacity 0.28s ease;
}

.cty-theme-card:hover {
	transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-5px);
	border-color: rgba(34, 211, 238, 0.55);
	box-shadow: 0 22px 46px rgba(10, 20, 38, 0.14), 0 0 0 1px rgba(34, 211, 238, 0.16);
}

.cty-theme-card:hover::before {
	transform: scaleX(1);
}

.cty-theme-card:hover::after {
	opacity: 1;
}

.cty-theme-thumb {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--cty-bg-darker);
}

.cty-theme-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.cty-theme-card:hover .cty-theme-thumb img {
	transform: scale(1.07);
}

.cty-theme-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 2;
	background: var(--cty-yellow);
	color: var(--cty-ink);
	font-size: 10.5px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	padding: 4px 10px;
	border-radius: 99px;
	box-shadow: 0 4px 12px rgba(7, 11, 20, 0.24);
	transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
}

.cty-theme-card:hover .cty-theme-badge {
	transform: translateY(-1px) scale(1.03);
	box-shadow: 0 6px 16px rgba(34, 211, 238, 0.35);
}

.cty-theme-badge.is-free {
	background: #10b981;
	color: #ffffff;
}

.cty-theme-hover-actions {
	position: absolute;
	inset: 0;
	z-index: 2;
	background: linear-gradient(180deg, rgba(7, 11, 20, 0.28) 0%, rgba(7, 11, 20, 0.86) 100%);
	backdrop-filter: blur(3px);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	opacity: 0;
	transition: opacity 0.26s ease;
}

.cty-theme-card:hover .cty-theme-hover-actions {
	opacity: 1;
}

.cty-btn-preview {
	position: relative;
	overflow: hidden;
	background: var(--cty-accent-grad);
	color: var(--cty-ink);
	border: 0;
	padding: 9px 16px;
	border-radius: 7px;
	font-size: 12.5px;
	font-weight: 700;
	cursor: pointer;
	transform: translateY(10px) scale(0.94);
	opacity: 0;
	box-shadow: 0 6px 16px rgba(34, 211, 238, 0.28);
	transition:
		transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
		opacity 0.28s ease,
		box-shadow 0.25s ease,
		background 0.25s ease;
}

.cty-btn-details {
	background: rgba(255, 255, 255, 0.14);
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.35);
	padding: 8px 15px;
	border-radius: 7px;
	font-size: 12.5px;
	font-weight: 600;
	transform: translateY(10px) scale(0.94);
	opacity: 0;
	transition:
		transform 0.32s cubic-bezier(0.22, 1, 0.36, 1) 0.05s,
		opacity 0.28s ease 0.05s,
		border-color 0.22s ease,
		background 0.22s ease,
		color 0.22s ease;
}

.cty-theme-card:hover .cty-btn-preview,
.cty-theme-card:hover .cty-btn-details {
	transform: translateY(0) scale(1);
	opacity: 1;
}

.cty-theme-card:hover .cty-btn-preview:hover {
	background: var(--cty-accent-grad-hover);
	transform: translateY(-2px) scale(1.04);
	box-shadow: 0 10px 24px rgba(34, 211, 238, 0.42);
}

.cty-theme-card:hover .cty-btn-details:hover {
	background: rgba(255, 255, 255, 0.24);
	border-color: var(--cty-yellow);
	color: var(--cty-yellow);
	transform: translateY(-2px) scale(1.04);
}

.cty-theme-body {
	padding: 18px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.cty-theme-meta-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 6px;
}

.cty-theme-cat {
	font-size: 11.5px;
	font-weight: 600;
	color: #6b7280;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.cty-theme-price {
	font-family: var(--cty-font-display);
	font-size: 15px;
	font-weight: 800;
	color: var(--cty-ink);
}

.cty-theme-price.is-free {
	color: #059669;
}

.cty-theme-title {
	font-size: 17px;
	font-weight: 700;
	margin-bottom: 8px;
}

.cty-theme-title a:hover {
	color: #0284c7;
}

.cty-theme-excerpt {
	font-size: 13.5px;
	color: var(--cty-ink-muted);
	margin: 0 0 14px;
	line-height: 1.5;
	flex: 1;
}

.cty-theme-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 12px;
	border-top: 1px solid #f1f5f9;
	font-size: 12px;
	color: #6b7280;
	font-weight: 600;
}

/* ==========================================================================
   8. Features Dark Architectural Section
   ========================================================================== */

.cty-features-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
}

.cty-feature-card {
	position: relative;
	overflow: hidden;
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 10px;
	padding: 28px 24px;
	transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
	transition: border-color 0.22s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
}

.cty-feature-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(34, 211, 238, 0.16), transparent 65%);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.25s ease;
}

.cty-feature-card::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: var(--cty-accent-grad);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
	pointer-events: none;
}

.cty-feature-card:hover {
	border-color: rgba(34, 211, 238, 0.55);
	transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-5px);
	box-shadow: 0 20px 44px rgba(4, 9, 20, 0.48), 0 0 24px rgba(34, 211, 238, 0.1);
}

.cty-feature-card:hover::before {
	opacity: 1;
}

.cty-feature-card:hover::after {
	transform: scaleX(1);
}

.cty-feature-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 22px;
}

.cty-feature-icon {
	width: 48px;
	height: 48px;
	border-radius: 12px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(34, 211, 238, 0.1);
	border: 1px solid rgba(34, 211, 238, 0.28);
	color: var(--cty-yellow);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
	transition:
		transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
		background 0.28s ease,
		border-color 0.28s ease,
		box-shadow 0.32s ease,
		color 0.25s ease;
}

.cty-feature-icon svg {
	width: 23px;
	height: 23px;
	display: block;
}

.cty-feature-card:hover .cty-feature-icon {
	transform: translateY(-2px) scale(1.08);
	background: rgba(34, 211, 238, 0.2);
	border-color: rgba(34, 211, 238, 0.65);
	color: #67e8f9;
	box-shadow: 0 10px 26px rgba(34, 211, 238, 0.28);
}

.cty-feature-num {
	font-family: var(--cty-font-display);
	font-size: 13px;
	font-weight: 800;
	color: rgba(34, 211, 238, 0.72);
	letter-spacing: 0.14em;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(148, 163, 184, 0.14);
	border-radius: 99px;
	padding: 4px 10px;
	transition: color 0.25s ease, border-color 0.25s ease;
}

.cty-feature-card:hover .cty-feature-num {
	color: var(--cty-yellow);
	border-color: rgba(34, 211, 238, 0.4);
}

.cty-feature-card h3 {
	font-size: 19px;
	font-weight: 700;
	margin-bottom: 10px;
	color: #ffffff;
}

.cty-feature-card p {
	margin: 0;
	font-size: 14px;
	color: var(--cty-text-muted);
	line-height: 1.6;
}

/* ==========================================================================
   9. Ecosystem Tabs Section
   ========================================================================== */

.cty-eco-switchers {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
}

.cty-eco-pill {
	background: #f3f4f6;
	border: 1px solid transparent;
	color: var(--cty-ink-muted);
	padding: 10px 18px;
	border-radius: 8px;
	font-size: 13.5px;
	font-weight: 700;
	cursor: pointer;
	transition:
		background 0.25s ease,
		color 0.22s ease,
		border-color 0.22s ease,
		transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
		box-shadow 0.25s ease;
}

.cty-eco-pill:hover {
	background: #e2e8f0;
	color: var(--cty-ink);
	border-color: rgba(34, 211, 238, 0.45);
	transform: translateY(-2px);
}

.cty-eco-pill.is-active {
	background: var(--cty-bg-dark);
	color: var(--cty-yellow);
	box-shadow: 0 8px 20px rgba(10, 20, 38, 0.16);
}

.cty-eco-panel {
	display: none;
	grid-template-columns: 1fr 1.08fr;
	gap: 48px;
	align-items: center;
}

.cty-eco-panel.is-active {
	display: grid;
}

.cty-eco-copy h3 {
	font-size: 30px;
	font-weight: 800;
	margin: 14px 0 14px;
}

.cty-eco-copy p {
	color: var(--cty-ink-muted);
	margin: 0 0 22px;
}

.cty-eco-copy .cty-pill-yellow {
	background: var(--cty-bg-dark);
	color: var(--cty-yellow);
	border-color: var(--cty-bg-dark);
}

.cty-check-list {
	list-style: none;
	margin: 0 0 28px;
	padding: 0;
}

.cty-check-list li {
	position: relative;
	padding-left: 26px;
	margin-bottom: 10px;
	font-size: 14.5px;
	font-weight: 500;
}

.cty-check-list li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: #0284c7;
	font-weight: 800;
}

.cty-eco-media {
	background: var(--cty-bg-dark);
	border-radius: 12px;
	padding: 10px;
	box-shadow: var(--cty-shadow-lg);
}

.cty-eco-media img {
	border-radius: 8px;
}

/* ==========================================================================
   10. Pricing Section
   ========================================================================== */

.cty-pricing-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 26px;
	align-items: stretch;
}

.cty-price-card {
	position: relative;
	background: #ffffff;
	border: 1px solid var(--cty-border-light);
	border-radius: 12px;
	padding: 36px 30px;
	display: flex;
	flex-direction: column;
	box-shadow: var(--cty-shadow-sm);
	transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.24s ease, border-color 0.24s ease;
}

.cty-price-card:not(.is-featured):hover {
	transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-5px);
	border-color: rgba(10, 20, 38, 0.28);
	background-image: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(10, 20, 38, 0.045), transparent 65%);
	box-shadow: 0 18px 38px rgba(10, 20, 38, 0.12);
}

.cty-price-card.is-featured:hover {
	transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-5px);
	background-image: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(34, 211, 238, 0.11), transparent 65%);
	box-shadow: 0 24px 60px rgba(34, 211, 238, 0.2);
}

.cty-price-card.is-featured {
	background: var(--cty-bg-dark);
	color: #ffffff;
	border: 2px solid var(--cty-yellow);
	box-shadow: var(--cty-shadow-lg);
}

.cty-popular-tag {
	position: absolute;
	top: -13px;
	left: 30px;
	background: var(--cty-yellow);
	color: var(--cty-ink);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.08em;
	padding: 4px 12px;
	border-radius: 99px;
}

.cty-price-tier {
	font-family: var(--cty-font-display);
	font-size: 18px;
	font-weight: 700;
}

.cty-price-amount {
	margin: 18px 0 12px;
	display: flex;
	align-items: baseline;
	gap: 6px;
}

.cty-price-amount strong {
	font-family: var(--cty-font-display);
	font-size: 46px;
	font-weight: 800;
	line-height: 1;
}

.cty-price-amount span {
	font-size: 14px;
	color: var(--cty-ink-muted);
}

.cty-price-card.is-featured .cty-price-amount span,
.cty-price-card.is-featured .cty-price-desc {
	color: #b0b0b0;
}

.cty-price-desc {
	font-size: 14px;
	color: var(--cty-ink-muted);
	margin: 0 0 24px;
}

.cty-price-features {
	list-style: none;
	margin: 0 0 28px;
	padding: 20px 0 0;
	border-top: 1px solid rgba(128, 128, 128, 0.18);
	flex: 1;
}

.cty-price-features li {
	position: relative;
	padding-left: 24px;
	margin-bottom: 11px;
	font-size: 14px;
}

.cty-price-features li::before {
	content: "✓";
	position: absolute;
	left: 0;
	color: var(--cty-yellow);
	font-weight: 800;
}

.cty-price-card:not(.is-featured) .cty-price-features li::before {
	color: #0284c7;
}

/* ==========================================================================
   11. Blog Cards & Pre-Footer
   ========================================================================== */

.cty-blog-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.cty-blog-card {
	position: relative;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(148, 163, 184, 0.12);
	border-radius: 10px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.22s ease, box-shadow 0.22s ease;
}

.cty-blog-card:hover {
	transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-4px);
	border-color: rgba(34, 211, 238, 0.52);
	background-image: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(34, 211, 238, 0.1), transparent 65%);
	box-shadow: 0 18px 36px rgba(4, 9, 20, 0.42);
}

.cty-blog-card.is-light {
	background: #ffffff;
	border-color: var(--cty-border-light);
	color: var(--cty-ink);
	box-shadow: var(--cty-shadow-sm);
}

.cty-blog-thumb {
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.cty-blog-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.cty-blog-body {
	padding: 22px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.cty-blog-meta {
	display: flex;
	gap: 8px;
	font-size: 12px;
	color: var(--cty-text-muted);
	margin-bottom: 10px;
}

.cty-blog-card h3 {
	font-size: 18px;
	margin-bottom: 10px;
}

.cty-blog-card h3 a:hover {
	color: var(--cty-yellow);
}

.cty-blog-card.is-light h3 a:hover {
	color: #0284c7;
}

.cty-blog-card p {
	font-size: 14px;
	color: var(--cty-text-muted);
	margin: 0 0 18px;
	flex: 1;
}

.cty-blog-card.is-light p {
	color: var(--cty-ink-muted);
}

.cty-read-more {
	font-size: 13px;
	font-weight: 700;
	color: var(--cty-yellow);
}

.cty-blog-card.is-light .cty-read-more {
	color: var(--cty-ink);
}

.cty-prefooter {
	background: var(--cty-bg-light);
	padding: 72px 0;
}

.cty-prefooter-box {
	background: #ffffff;
	border: 1px solid var(--cty-border-light);
	border-radius: 14px;
	padding: 46px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	flex-wrap: wrap;
	box-shadow: var(--cty-shadow-md);
	transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.28s ease, box-shadow 0.3s ease;
}

.cty-prefooter-box:hover {
	transform: translateY(-3px);
	border-color: rgba(34, 211, 238, 0.45);
	box-shadow: 0 24px 54px rgba(10, 20, 38, 0.14);
}

.cty-prefooter-box h2 {
	font-size: clamp(24px, 2.8vw, 34px);
	margin-bottom: 8px;
}

.cty-prefooter-box p {
	margin: 0;
	color: var(--cty-ink-muted);
}

.cty-prefooter-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

/* ==========================================================================
   12. Inner Pages, Single Theme, Support Forms
   ========================================================================== */

.cty-inner-hero {
	background: var(--cty-bg-dark);
	color: #ffffff;
	padding: 64px 0 68px;
}

.cty-inner-hero h1 {
	font-size: clamp(30px, 3.6vw, 44px);
	font-weight: 800;
	margin-bottom: 12px;
}

.cty-inner-hero p {
	color: var(--cty-text-muted);
	max-width: 640px;
	margin: 0;
}

.cty-breadcrumb {
	font-size: 13px;
	color: #9b9b9b;
	margin-bottom: 18px;
}

.cty-breadcrumb a:hover {
	color: var(--cty-yellow);
}

.cty-single-theme-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}

.cty-single-theme-head > div:first-child {
	flex: 1 1 520px;
	min-width: 0;
}

.cty-single-theme-head h1 {
	margin-top: 12px;
}

.cty-single-theme-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.cty-archive-toolbar {
	margin-bottom: 34px;
}

.cty-single-theme-grid,
.cty-support-grid {
	display: grid;
	grid-template-columns: 1.45fr 0.75fr;
	gap: 32px;
	align-items: start;
}

.cty-browser-showcase {
	background: var(--cty-bg-darker);
	border-radius: 10px;
	padding: 12px;
	margin-bottom: 28px;
	box-shadow: var(--cty-shadow-md);
}

.cty-browser-dots {
	display: flex;
	gap: 6px;
	margin-bottom: 10px;
}

.cty-browser-dots span {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.25);
}

.cty-browser-showcase img {
	border-radius: 6px;
}

.cty-prose-card,
.cty-spec-card {
	background: #ffffff;
	border: 1px solid var(--cty-border-light);
	border-radius: 12px;
	padding: 30px;
	box-shadow: var(--cty-shadow-sm);
	transition: border-color 0.26s ease, box-shadow 0.28s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.cty-spec-card:hover {
	border-color: rgba(34, 211, 238, 0.48);
	box-shadow: 0 18px 38px rgba(10, 20, 38, 0.1);
	transform: translateY(-2px);
}

.cty-prose-card h2,
.cty-spec-card h3 {
	margin-bottom: 16px;
}

.cty-spec-price {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	padding-bottom: 18px;
	margin-bottom: 18px;
	border-bottom: 1px solid var(--cty-border-light);
}

.cty-spec-price strong {
	font-family: var(--cty-font-display);
	font-size: 32px;
}

.cty-spec-list {
	list-style: none;
	margin: 0 0 20px;
	padding: 0;
}

.cty-spec-list li {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 10px 0;
	border-bottom: 1px solid #f1f5f9;
	font-size: 13.5px;
}

.cty-spec-list li span {
	color: var(--cty-ink-muted);
}

.cty-form-row {
	margin-bottom: 16px;
}

.cty-form-row label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 6px;
}

.cty-form-row input,
.cty-form-row textarea {
	width: 100%;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	padding: 11px 14px;
	font-family: inherit;
	font-size: 14px;
}

.cty-form-feedback {
	margin-top: 12px;
	font-size: 13.5px;
	font-weight: 600;
}

.cty-form-feedback.is-success {
	color: #059669;
}

.cty-form-feedback.is-error {
	color: #dc2626;
}

/* ==========================================================================
   13. Footer
   ========================================================================== */

.cty-footer {
	background: var(--cty-bg-darker);
	color: #d4d4d4;
	padding: 72px 0 32px;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.cty-footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 0.8fr 0.8fr 1.2fr;
	gap: 40px;
	padding-bottom: 48px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cty-footer-bio {
	font-size: 14px;
	color: #9c9c9c;
	margin: 16px 0;
	max-width: 340px;
}

.cty-footer-email {
	font-size: 13.5px;
	color: #9c9c9c;
}

.cty-footer-email a {
	color: var(--cty-yellow);
	font-weight: 600;
}

.cty-footer-col h4,
.cty-footer-newsletter h4 {
	color: #ffffff;
	font-size: 15px;
	font-weight: 700;
	margin: 0 0 18px;
}

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

.cty-footer-col li {
	margin-bottom: 10px;
}

.cty-footer-col a {
	font-size: 14px;
	color: #9c9c9c;
	transition: color 0.2s ease;
}

.cty-footer-col a:hover {
	color: var(--cty-yellow);
}

.cty-footer-newsletter p {
	font-size: 13.5px;
	color: #9c9c9c;
	margin: 0 0 14px;
}

.cty-newsletter-form {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.cty-newsletter-form input {
	flex: 1;
	min-width: 180px;
	background: var(--cty-bg-card-dark);
	border: 1px solid rgba(148, 163, 184, 0.2);
	color: #ffffff;
	padding: 11px 14px;
	border-radius: 6px;
	font-size: 13.5px;
}

.cty-newsletter-form button {
	background: var(--cty-yellow);
	color: var(--cty-ink);
	border: 0;
	padding: 11px 18px;
	border-radius: 6px;
	font-weight: 700;
	font-size: 13.5px;
	cursor: pointer;
}

.cty-footer-bottom {
	padding-top: 26px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	font-size: 13px;
	color: #888;
}

.cty-footer-legal {
	display: flex;
	gap: 20px;
}

.cty-footer-legal a:hover {
	color: var(--cty-yellow);
}

/* ==========================================================================
   14. Modals (Preview + WordPress Login)
   ========================================================================== */

.cty-modal {
	position: fixed;
	inset: 0;
	z-index: 120;
	display: none;
	align-items: center;
	justify-content: center;
}

.cty-modal.is-open {
	display: flex;
}

.cty-modal-backdrop {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.78);
	backdrop-filter: blur(6px);
}

.cty-preview-dialog {
	position: relative;
	z-index: 2;
	width: 94vw;
	height: 90vh;
	background: #0c1322;
	border: 1px solid rgba(148, 163, 184, 0.16);
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	box-shadow: var(--cty-shadow-lg);
}

.cty-preview-bar {
	background: #070b14;
	color: #fff;
	padding: 14px 22px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	border-bottom: 1px solid rgba(148, 163, 184, 0.12);
	flex-wrap: wrap;
}

.cty-preview-title-group strong {
	display: block;
	font-size: 15px;
}

.cty-preview-meta {
	font-size: 12px;
	color: #9b9b9b;
}

.cty-viewport-switches {
	display: flex;
	gap: 6px;
	background: #222;
	padding: 4px;
	border-radius: 6px;
}

.cty-vp-btn {
	background: transparent;
	border: 0;
	color: #9b9b9b;
	padding: 6px 12px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 600;
	cursor: pointer;
}

.cty-vp-btn.is-active {
	background: var(--cty-yellow);
	color: var(--cty-ink);
}

.cty-preview-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.cty-preview-stage {
	flex: 1;
	padding: 24px;
	overflow: auto;
	display: flex;
	justify-content: center;
	align-items: flex-start;
	background: #0f172a;
}

.cty-preview-frame {
	width: 100%;
	max-width: 100%;
	background: #070b14;
	border-radius: 10px;
	padding: 12px;
	transition: max-width 0.3s ease;
	box-shadow: var(--cty-shadow-lg);
}

.cty-preview-frame img {
	width: 100%;
	border-radius: 6px;
}

.cty-login-dialog {
	position: relative;
	z-index: 2;
	width: min(420px, 92vw);
	background: #0c1322;
	color: #ffffff;
	border: 1px solid rgba(34, 211, 238, 0.2);
	border-radius: 14px;
	padding: 34px 30px;
	box-shadow: var(--cty-shadow-lg);
}

.cty-login-dialog .cty-modal-close {
	position: absolute;
	top: 14px;
	right: 14px;
}

.cty-login-header {
	text-align: center;
	margin-bottom: 22px;
}

.cty-login-header img {
	margin: 0 auto 12px;
}

.cty-login-header p {
	font-size: 13.5px;
	color: #9b9b9b;
	margin: 6px 0 0;
}

.cty-login-dialog form p {
	margin: 0 0 14px;
}

.cty-login-dialog label {
	display: block;
	font-size: 12.5px;
	font-weight: 600;
	color: #d4d4d4;
	margin-bottom: 6px;
}

.cty-login-dialog input[type="text"],
.cty-login-dialog input[type="password"] {
	width: 100%;
	background: var(--cty-bg-card-dark);
	border: 1px solid rgba(148, 163, 184, 0.22);
	color: #fff;
	border-radius: 6px;
	padding: 11px 14px;
	font-size: 14px;
}

.cty-login-dialog .login-remember label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.cty-login-dialog #cty-login-submit {
	width: 100%;
	background: var(--cty-yellow);
	color: var(--cty-ink);
	border: 0;
	border-radius: 6px;
	padding: 13px;
	font-weight: 700;
	font-size: 14px;
	cursor: pointer;
}

/* ==========================================================================
   15. Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1120px) {
	.cty-nav {
		display: none;
	}
	.cty-themes-grid,
	.cty-features-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.cty-footer-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 900px) {
	.cty-hero-grid,
	.cty-eco-panel.is-active,
	.cty-pricing-grid,
	.cty-blog-grid,
	.cty-single-theme-grid,
	.cty-support-grid {
		grid-template-columns: 1fr;
	}
	.cty-hero-visual {
		height: 290px;
	}
	.cty-showcase-track {
		gap: 12px;
	}
	.cty-showcase-item {
		flex: 0 0 245px;
	}
}

@media (max-width: 600px) {
	.cty-container {
		padding: 0 18px;
	}
	.cty-eco-tab {
		padding: 0 7px;
		font-size: 10px;
		letter-spacing: 0;
	}
	.cty-login-link span {
		display: none;
	}
	.cty-brand-name {
		font-size: 16px;
		letter-spacing: 0.14em;
	}
	.cty-brand-sub {
		display: none;
	}
	.cty-hero-title {
		font-size: 32px;
	}
	.cty-hero-showcase {
		padding: 14px 0 0;
	}
	.cty-themes-grid,
	.cty-features-grid,
	.cty-footer-grid {
		grid-template-columns: 1fr;
	}
}

/* ==========================================================================
   16. Privacy Policy Page (PromoHub by CoolToYou)
   ========================================================================== */

.cty-privacy-badges {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin-top: 22px;
}

.cty-privacy-chip {
	display: inline-flex;
	align-items: center;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(148, 163, 184, 0.22);
	color: #e2e8f0;
	font-size: 12px;
	font-weight: 600;
	padding: 5px 12px;
	border-radius: 99px;
}

.cty-privacy-grid {
	display: grid;
	grid-template-columns: 0.72fr 1.55fr;
	gap: 32px;
	align-items: start;
}

.cty-privacy-aside {
	display: flex;
	flex-direction: column;
	gap: 20px;
	position: sticky;
	top: 108px;
}

.cty-toc-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.cty-toc-list li {
	border-bottom: 1px solid #f1f5f9;
}

.cty-toc-list li:last-child {
	border-bottom: 0;
}

.cty-toc-list a {
	display: block;
	padding: 10px 0;
	font-size: 13.5px;
	font-weight: 600;
	color: var(--cty-ink-muted);
	transition: color 0.2s ease, padding-left 0.2s ease;
}

.cty-toc-list a:hover {
	color: #0284c7;
	padding-left: 6px;
}

.cty-privacy-doc {
	padding: 40px;
}

.cty-policy-block {
	padding-bottom: 28px;
	margin-bottom: 28px;
	border-bottom: 1px solid var(--cty-border-light);
	scroll-margin-top: 106px;
}

.cty-policy-block:last-child {
	padding-bottom: 0;
	margin-bottom: 0;
	border-bottom: 0;
}

.cty-policy-block h2 {
	font-size: 22px;
	font-weight: 800;
	margin-bottom: 12px;
	color: var(--cty-ink);
}

.cty-policy-block p,
.cty-policy-block li {
	font-size: 15px;
	line-height: 1.7;
	color: var(--cty-ink-muted);
}

.cty-policy-block ul {
	margin: 12px 0 12px 20px;
	padding: 0;
}

.cty-policy-block li {
	margin-bottom: 8px;
}

.cty-scope-table {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 14px;
}

.cty-scope-row {
	display: grid;
	grid-template-columns: 190px 1fr;
	gap: 16px;
	align-items: center;
	background: var(--cty-bg-light);
	border: 1px solid var(--cty-border-light);
	border-radius: 8px;
	padding: 14px 16px;
}

.cty-scope-row code {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 12.5px;
	font-weight: 700;
	color: #0369a1;
	background: rgba(34, 211, 238, 0.16);
	padding: 4px 8px;
	border-radius: 5px;
	width: fit-content;
}

.cty-scope-row span {
	font-size: 14px;
	color: var(--cty-ink-muted);
}

.cty-policy-contact-box {
	margin-top: 18px;
	background: var(--cty-bg-dark);
	color: #ffffff;
	border-radius: 10px;
	padding: 22px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	flex-wrap: wrap;
}

.cty-policy-contact-box strong {
	display: block;
	font-size: 16px;
	margin-bottom: 4px;
}

.cty-policy-contact-box p {
	margin: 0;
	color: var(--cty-text-muted);
	font-size: 13.5px;
}

@media (max-width: 900px) {
	.cty-privacy-grid,
	.cty-scope-row {
		grid-template-columns: 1fr;
	}
	.cty-privacy-aside {
		position: static;
	}
	.cty-privacy-doc {
		padding: 24px;
	}
}

/* ==========================================================================
   17. Per-App Privacy Center Directory & Switcher
   ========================================================================== */

.cty-copy-url-btn {
	cursor: pointer;
	gap: 10px;
	max-width: 100%;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.cty-copy-url-btn > span {
	min-width: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.cty-copy-url-btn:hover,
.cty-copy-url-btn.is-copied {
	border-color: rgba(34, 211, 238, 0.55);
	background: rgba(34, 211, 238, 0.14);
}

.cty-copy-state {
	flex: 0 0 auto;
	background: var(--cty-yellow);
	color: #06101c;
	font-family: var(--cty-font-body);
	font-size: 11px;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: 99px;
}

.cty-toc-list a.is-current-policy {
	color: #0284c7;
	font-weight: 700;
	padding-left: 6px;
}

.cty-privacy-dir-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 310px), 1fr));
	gap: 24px;
	margin-bottom: 36px;
}

.cty-privacy-dir-card {
	position: relative;
	min-width: 0;
	overflow: hidden;
	background: #ffffff;
	border: 1px solid var(--cty-border-light);
	border-radius: 14px;
	padding: 26px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	box-shadow: 0 12px 30px rgba(7, 11, 20, 0.04);
	transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease, border-color 0.28s ease;
}

.cty-privacy-dir-card::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3px;
	background: var(--cty-accent-grad);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.cty-privacy-dir-card:hover {
	transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-4px);
	box-shadow: 0 20px 44px rgba(7, 11, 20, 0.1);
	border-color: rgba(34, 211, 238, 0.55);
	background-image: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(34, 211, 238, 0.08), transparent 65%);
}

.cty-privacy-dir-card:hover::before {
	transform: scaleX(1);
}

.cty-privacy-dir-top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	flex-wrap: wrap;
}

.cty-privacy-date {
	font-size: 12px;
	color: var(--cty-ink-muted);
}

.cty-privacy-dir-card h3 {
	margin: 4px 0 0;
	font-size: 20px;
	font-weight: 800;
	line-height: 1.25;
}

.cty-privacy-dir-card h3 a {
	color: var(--cty-ink);
}

.cty-privacy-dir-card h3 a:hover {
	color: #0284c7;
}

.cty-privacy-dir-id {
	margin: 0;
	font-size: 12.5px;
	font-weight: 600;
	color: #0369a1;
}

.cty-privacy-dir-summary {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: var(--cty-ink-muted);
	flex: 1 1 auto;
}

.cty-privacy-url-box {
	min-width: 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	background: var(--cty-bg-light);
	border: 1px solid var(--cty-border-light);
	border-radius: 8px;
	padding: 8px 10px;
}

.cty-privacy-url-box code {
	min-width: 0;
	flex: 1 1 auto;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 11.5px;
	color: var(--cty-ink);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.cty-copy-mini {
	flex: 0 0 auto;
	background: var(--cty-bg-dark);
	color: #ffffff;
	border: 0;
	border-radius: 6px;
	font-size: 11px;
	font-weight: 700;
	padding: 5px 9px;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.cty-copy-mini:hover,
.cty-copy-mini.is-copied {
	background: var(--cty-yellow);
	color: #06101c;
}

.cty-privacy-dir-actions {
	margin-top: 4px;
}

.cty-privacy-studio-note {
	padding: 36px;
}

.cty-studio-principles-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin: 20px 0 24px;
}

.cty-studio-principles-grid h3 {
	font-size: 16px;
	margin: 0 0 8px;
	color: var(--cty-ink);
}

.cty-studio-principles-grid p {
	margin: 0;
	font-size: 14px;
	line-height: 1.6;
	color: var(--cty-ink-muted);
}

@media (max-width: 1020px) {
	.cty-studio-principles-grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}
}

@media (max-width: 680px) {
	.cty-privacy-dir-grid,
	.cty-studio-principles-grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.cty-privacy-dir-card,
	.cty-privacy-studio-note {
		padding: 20px;
	}
}
