/**
 * Comprehensive Utility Class System
 * Mobile-first responsive utilities for rapid development
 */

/* ===== LAYOUT ===== */

.cyber-container {
	padding: 1.5rem;
}

.cyber-stack {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.cyber-grid-2 {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1.25rem;
}

.cyber-flex-between {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.cyber-glass {
	background: rgba(15, 18, 45, 0.55);
	backdrop-filter: blur(12px);
	border: var(--cyber-border);
	box-shadow: var(--cyber-shadow);
	border-radius: var(--cyber-radius-md);
}

.cyber-pill {
	border-radius: 999px;
	padding: 0.35rem 0.8rem;
	border: var(--cyber-border);
}

/* ===== DISPLAY UTILITIES ===== */

.cyber-hidden { display: none !important; }
.cyber-block { display: block !important; }
.cyber-inline-block { display: inline-block !important; }
.cyber-flex { display: flex !important; }
.cyber-inline-flex { display: inline-flex !important; }
.cyber-grid { display: grid !important; }

/* ===== FLEXBOX UTILITIES ===== */

.cyber-flex-row { flex-direction: row; }
.cyber-flex-col { flex-direction: column; }
.cyber-flex-row-reverse { flex-direction: row-reverse; }
.cyber-flex-col-reverse { flex-direction: column-reverse; }

.cyber-flex-wrap { flex-wrap: wrap; }
.cyber-flex-nowrap { flex-wrap: nowrap; }

.cyber-justify-start { justify-content: flex-start; }
.cyber-justify-center { justify-content: center; }
.cyber-justify-end { justify-content: flex-end; }
.cyber-justify-between { justify-content: space-between; }
.cyber-justify-around { justify-content: space-around; }
.cyber-justify-evenly { justify-content: space-evenly; }

.cyber-items-start { align-items: flex-start; }
.cyber-items-center { align-items: center; }
.cyber-items-end { align-items: flex-end; }
.cyber-items-stretch { align-items: stretch; }
.cyber-items-baseline { align-items: baseline; }

.cyber-gap-0 { gap: 0; }
.cyber-gap-xs { gap: var(--cyber-space-xs); }
.cyber-gap-sm { gap: var(--cyber-space-sm); }
.cyber-gap-md { gap: var(--cyber-space-md); }
.cyber-gap-lg { gap: var(--cyber-space-lg); }
.cyber-gap-xl { gap: var(--cyber-space-xl); }
.cyber-gap-2xl { gap: var(--cyber-space-2xl); }

/* ===== GRID UTILITIES ===== */

.cyber-grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.cyber-grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cyber-grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cyber-grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cyber-grid-cols-5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.cyber-grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.cyber-grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

.cyber-col-span-1 { grid-column: span 1 / span 1; }
.cyber-col-span-2 { grid-column: span 2 / span 2; }
.cyber-col-span-3 { grid-column: span 3 / span 3; }
.cyber-col-span-4 { grid-column: span 4 / span 4; }
.cyber-col-span-6 { grid-column: span 6 / span 6; }
.cyber-col-span-12 { grid-column: span 12 / span 12; }

/* ===== SPACING UTILITIES ===== */

/* Margin */
.cyber-m-0 { margin: 0; }
.cyber-m-xs { margin: var(--cyber-space-xs); }
.cyber-m-sm { margin: var(--cyber-space-sm); }
.cyber-m-md { margin: var(--cyber-space-md); }
.cyber-m-lg { margin: var(--cyber-space-lg); }
.cyber-m-xl { margin: var(--cyber-space-xl); }
.cyber-m-2xl { margin: var(--cyber-space-2xl); }

.cyber-mt-0 { margin-top: 0; }
.cyber-mt-xs { margin-top: var(--cyber-space-xs); }
.cyber-mt-sm { margin-top: var(--cyber-space-sm); }
.cyber-mt-md { margin-top: var(--cyber-space-md); }
.cyber-mt-lg { margin-top: var(--cyber-space-lg); }
.cyber-mt-xl { margin-top: var(--cyber-space-xl); }
.cyber-mt-2xl { margin-top: var(--cyber-space-2xl); }

.cyber-mb-0 { margin-bottom: 0; }
.cyber-mb-xs { margin-bottom: var(--cyber-space-xs); }
.cyber-mb-sm { margin-bottom: var(--cyber-space-sm); }
.cyber-mb-md { margin-bottom: var(--cyber-space-md); }
.cyber-mb-lg { margin-bottom: var(--cyber-space-lg); }
.cyber-mb-xl { margin-bottom: var(--cyber-space-xl); }
.cyber-mb-2xl { margin-bottom: var(--cyber-space-2xl); }

.cyber-ml-0 { margin-left: 0; }
.cyber-ml-xs { margin-left: var(--cyber-space-xs); }
.cyber-ml-sm { margin-left: var(--cyber-space-sm); }
.cyber-ml-md { margin-left: var(--cyber-space-md); }
.cyber-ml-lg { margin-left: var(--cyber-space-lg); }
.cyber-ml-xl { margin-left: var(--cyber-space-xl); }
.cyber-ml-2xl { margin-left: var(--cyber-space-2xl); }

.cyber-mr-0 { margin-right: 0; }
.cyber-mr-xs { margin-right: var(--cyber-space-xs); }
.cyber-mr-sm { margin-right: var(--cyber-space-sm); }
.cyber-mr-md { margin-right: var(--cyber-space-md); }
.cyber-mr-lg { margin-right: var(--cyber-space-lg); }
.cyber-mr-xl { margin-right: var(--cyber-space-xl); }
.cyber-mr-2xl { margin-right: var(--cyber-space-2xl); }

.cyber-mx-0 { margin-left: 0; margin-right: 0; }
.cyber-mx-xs { margin-left: var(--cyber-space-xs); margin-right: var(--cyber-space-xs); }
.cyber-mx-sm { margin-left: var(--cyber-space-sm); margin-right: var(--cyber-space-sm); }
.cyber-mx-md { margin-left: var(--cyber-space-md); margin-right: var(--cyber-space-md); }
.cyber-mx-lg { margin-left: var(--cyber-space-lg); margin-right: var(--cyber-space-lg); }
.cyber-mx-xl { margin-left: var(--cyber-space-xl); margin-right: var(--cyber-space-xl); }
.cyber-mx-2xl { margin-left: var(--cyber-space-2xl); margin-right: var(--cyber-space-2xl); }

.cyber-my-0 { margin-top: 0; margin-bottom: 0; }
.cyber-my-xs { margin-top: var(--cyber-space-xs); margin-bottom: var(--cyber-space-xs); }
.cyber-my-sm { margin-top: var(--cyber-space-sm); margin-bottom: var(--cyber-space-sm); }
.cyber-my-md { margin-top: var(--cyber-space-md); margin-bottom: var(--cyber-space-md); }
.cyber-my-lg { margin-top: var(--cyber-space-lg); margin-bottom: var(--cyber-space-lg); }
.cyber-my-xl { margin-top: var(--cyber-space-xl); margin-bottom: var(--cyber-space-xl); }
.cyber-my-2xl { margin-top: var(--cyber-space-2xl); margin-bottom: var(--cyber-space-2xl); }

/* Padding */
.cyber-p-0 { padding: 0; }
.cyber-p-xs { padding: var(--cyber-space-xs); }
.cyber-p-sm { padding: var(--cyber-space-sm); }
.cyber-p-md { padding: var(--cyber-space-md); }
.cyber-p-lg { padding: var(--cyber-space-lg); }
.cyber-p-xl { padding: var(--cyber-space-xl); }
.cyber-p-2xl { padding: var(--cyber-space-2xl); }

.cyber-pt-0 { padding-top: 0; }
.cyber-pt-xs { padding-top: var(--cyber-space-xs); }
.cyber-pt-sm { padding-top: var(--cyber-space-sm); }
.cyber-pt-md { padding-top: var(--cyber-space-md); }
.cyber-pt-lg { padding-top: var(--cyber-space-lg); }
.cyber-pt-xl { padding-top: var(--cyber-space-xl); }
.cyber-pt-2xl { padding-top: var(--cyber-space-2xl); }

.cyber-pb-0 { padding-bottom: 0; }
.cyber-pb-xs { padding-bottom: var(--cyber-space-xs); }
.cyber-pb-sm { padding-bottom: var(--cyber-space-sm); }
.cyber-pb-md { padding-bottom: var(--cyber-space-md); }
.cyber-pb-lg { padding-bottom: var(--cyber-space-lg); }
.cyber-pb-xl { padding-bottom: var(--cyber-space-xl); }
.cyber-pb-2xl { padding-bottom: var(--cyber-space-2xl); }

.cyber-pl-0 { padding-left: 0; }
.cyber-pl-xs { padding-left: var(--cyber-space-xs); }
.cyber-pl-sm { padding-left: var(--cyber-space-sm); }
.cyber-pl-md { padding-left: var(--cyber-space-md); }
.cyber-pl-lg { padding-left: var(--cyber-space-lg); }
.cyber-pl-xl { padding-left: var(--cyber-space-xl); }
.cyber-pl-2xl { padding-left: var(--cyber-space-2xl); }

.cyber-pr-0 { padding-right: 0; }
.cyber-pr-xs { padding-right: var(--cyber-space-xs); }
.cyber-pr-sm { padding-right: var(--cyber-space-sm); }
.cyber-pr-md { padding-right: var(--cyber-space-md); }
.cyber-pr-lg { padding-right: var(--cyber-space-lg); }
.cyber-pr-xl { padding-right: var(--cyber-space-xl); }
.cyber-pr-2xl { padding-right: var(--cyber-space-2xl); }

.cyber-px-0 { padding-left: 0; padding-right: 0; }
.cyber-px-xs { padding-left: var(--cyber-space-xs); padding-right: var(--cyber-space-xs); }
.cyber-px-sm { padding-left: var(--cyber-space-sm); padding-right: var(--cyber-space-sm); }
.cyber-px-md { padding-left: var(--cyber-space-md); padding-right: var(--cyber-space-md); }
.cyber-px-lg { padding-left: var(--cyber-space-lg); padding-right: var(--cyber-space-lg); }
.cyber-px-xl { padding-left: var(--cyber-space-xl); padding-right: var(--cyber-space-xl); }
.cyber-px-2xl { padding-left: var(--cyber-space-2xl); padding-right: var(--cyber-space-2xl); }

.cyber-py-0 { padding-top: 0; padding-bottom: 0; }
.cyber-py-xs { padding-top: var(--cyber-space-xs); padding-bottom: var(--cyber-space-xs); }
.cyber-py-sm { padding-top: var(--cyber-space-sm); padding-bottom: var(--cyber-space-sm); }
.cyber-py-md { padding-top: var(--cyber-space-md); padding-bottom: var(--cyber-space-md); }
.cyber-py-lg { padding-top: var(--cyber-space-lg); padding-bottom: var(--cyber-space-lg); }
.cyber-py-xl { padding-top: var(--cyber-space-xl); padding-bottom: var(--cyber-space-xl); }
.cyber-py-2xl { padding-top: var(--cyber-space-2xl); padding-bottom: var(--cyber-space-2xl); }

/* ===== TYPOGRAPHY UTILITIES ===== */

.cyber-text-xs { font-size: var(--cyber-text-xs); }
.cyber-text-sm { font-size: var(--cyber-text-sm); }
.cyber-text-base { font-size: var(--cyber-text-base); }
.cyber-text-lg { font-size: var(--cyber-text-lg); }
.cyber-text-xl { font-size: var(--cyber-text-xl); }
.cyber-text-2xl { font-size: var(--cyber-text-2xl); }
.cyber-text-3xl { font-size: var(--cyber-text-3xl); }
.cyber-text-4xl { font-size: var(--cyber-text-4xl); }

.cyber-text-left { text-align: left; }
.cyber-text-center { text-align: center; }
.cyber-text-right { text-align: right; }

.cyber-font-normal { font-weight: 400; }
.cyber-font-medium { font-weight: 500; }
.cyber-font-semibold { font-weight: 600; }
.cyber-font-bold { font-weight: 700; }

.cyber-uppercase { text-transform: uppercase; }
.cyber-lowercase { text-transform: lowercase; }
.cyber-capitalize { text-transform: capitalize; }

/* ===== WIDTH UTILITIES ===== */

.cyber-w-full { width: 100%; }
.cyber-w-auto { width: auto; }
.cyber-h-full { height: 100%; }
.cyber-h-auto { height: auto; }

/* ===== RESPONSIVE BREAKPOINT UTILITIES ===== */

/* Small devices (480px and up) */
@media (min-width: 480px) {
	.cyber-sm\:hidden { display: none !important; }
	.cyber-sm\:block { display: block !important; }
	.cyber-sm\:flex { display: flex !important; }
	.cyber-sm\:grid { display: grid !important; }

	.cyber-sm\:flex-row { flex-direction: row; }
	.cyber-sm\:flex-col { flex-direction: column; }

	.cyber-sm\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
	.cyber-sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cyber-sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.cyber-sm\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

	.cyber-sm\:text-left { text-align: left; }
	.cyber-sm\:text-center { text-align: center; }
	.cyber-sm\:text-right { text-align: right; }
}

/* Medium devices (768px and up) */
@media (min-width: 768px) {
	.cyber-md\:hidden { display: none !important; }
	.cyber-md\:block { display: block !important; }
	.cyber-md\:flex { display: flex !important; }
	.cyber-md\:grid { display: grid !important; }

	.cyber-md\:flex-row { flex-direction: row; }
	.cyber-md\:flex-col { flex-direction: column; }

	.cyber-md\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
	.cyber-md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cyber-md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.cyber-md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.cyber-md\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

	.cyber-md\:text-left { text-align: left; }
	.cyber-md\:text-center { text-align: center; }
	.cyber-md\:text-right { text-align: right; }
}

/* Large devices (1024px and up) */
@media (min-width: 1024px) {
	.cyber-lg\:hidden { display: none !important; }
	.cyber-lg\:block { display: block !important; }
	.cyber-lg\:flex { display: flex !important; }
	.cyber-lg\:grid { display: grid !important; }

	.cyber-lg\:flex-row { flex-direction: row; }
	.cyber-lg\:flex-col { flex-direction: column; }

	.cyber-lg\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
	.cyber-lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cyber-lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.cyber-lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.cyber-lg\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }

	.cyber-lg\:text-left { text-align: left; }
	.cyber-lg\:text-center { text-align: center; }
	.cyber-lg\:text-right { text-align: right; }
}

/* Extra large devices (1200px and up) */
@media (min-width: 1200px) {
	.cyber-xl\:hidden { display: none !important; }
	.cyber-xl\:block { display: block !important; }
	.cyber-xl\:flex { display: flex !important; }
	.cyber-xl\:grid { display: grid !important; }

	.cyber-xl\:flex-row { flex-direction: row; }
	.cyber-xl\:flex-col { flex-direction: column; }

	.cyber-xl\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
	.cyber-xl\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.cyber-xl\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.cyber-xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.cyber-xl\:grid-cols-6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
	.cyber-xl\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

	.cyber-xl\:text-left { text-align: left; }
	.cyber-xl\:text-center { text-align: center; }
	.cyber-xl\:text-right { text-align: right; }
}
