/*
Theme Name: Com Motion Digital
Theme URI: https://commotiondigital.jextures.com/
Author: OpenAI Codex
Description: Fixed custom theme for the Com Motion Digital marketing site.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: commotion-digital
*/

:root {
	--bg: #081224;
	--bg-soft: #0e1c34;
	--panel: rgba(10, 23, 46, 0.78);
	--panel-strong: rgba(10, 23, 46, 0.92);
	--line: rgba(120, 217, 255, 0.22);
	--text: #f4f8ff;
	--muted: rgba(232, 241, 255, 0.7);
	--cyan: #16d7ff;
	--teal: #43f3d2;
	--blue: #2f7bff;
	--glow: 0 24px 60px rgba(10, 204, 255, 0.22);
	--radius-lg: 28px;
	--radius-md: 22px;
	--radius-sm: 16px;
	--container: 1180px;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: "Trebuchet MS", "Segoe UI", sans-serif;
	color: var(--text);
	background:
		radial-gradient(circle at top center, rgba(31, 139, 255, 0.2), transparent 30%),
		radial-gradient(circle at 20% 20%, rgba(67, 243, 210, 0.12), transparent 25%),
		linear-gradient(180deg, #07101d 0%, #081224 45%, #07101d 100%);
	line-height: 1.5;
}

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

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

.cmd-site {
	position: relative;
	overflow: hidden;
}

.cmd-site::before,
.cmd-site::after {
	content: "";
	position: absolute;
	inset: auto;
	border-radius: 999px;
	filter: blur(60px);
	opacity: 0.45;
	pointer-events: none;
}

.cmd-site::before {
	top: 80px;
	left: -120px;
	width: 280px;
	height: 280px;
	background: rgba(22, 215, 255, 0.22);
}

.cmd-site::after {
	top: 280px;
	right: -90px;
	width: 260px;
	height: 260px;
	background: rgba(47, 123, 255, 0.22);
}

.cmd-container {
	width: min(calc(100% - 32px), var(--container));
	margin: 0 auto;
}

.cmd-header {
	position: sticky;
	top: 0;
	z-index: 20;
	padding: 18px 0;
	backdrop-filter: blur(18px);
	background: linear-gradient(180deg, rgba(7, 16, 29, 0.9), rgba(7, 16, 29, 0.45));
	border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.cmd-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
}

.cmd-brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	font-size: 0.88rem;
}

.cmd-brand__mark {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background:
		radial-gradient(circle at 32% 30%, #57f0ff 0%, #16d7ff 35%, #165bff 70%, #0a1530 100%);
	box-shadow: 0 10px 24px rgba(22, 215, 255, 0.35);
	position: relative;
}

.cmd-brand__mark::before,
.cmd-brand__mark::after {
	content: "";
	position: absolute;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
}

.cmd-brand__mark::before {
	width: 18px;
	height: 4px;
	left: 12px;
	top: 19px;
	transform: rotate(-34deg);
}

.cmd-brand__mark::after {
	width: 8px;
	height: 8px;
	right: 9px;
	top: 10px;
}

.cmd-nav {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 6px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.06);
}

.cmd-nav a {
	padding: 10px 16px;
	border-radius: 999px;
	color: var(--muted);
	font-size: 0.95rem;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.cmd-nav a:hover,
.cmd-nav a:focus-visible {
	background: rgba(22, 215, 255, 0.12);
	color: var(--text);
	outline: none;
}

.cmd-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 14px 22px;
	border-radius: 999px;
	font-weight: 700;
	font-size: 0.95rem;
	border: 1px solid transparent;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.cmd-button:hover,
.cmd-button:focus-visible {
	transform: translateY(-1px);
	outline: none;
}

.cmd-button--primary {
	background: linear-gradient(135deg, var(--cyan), var(--blue));
	color: #04101d;
	box-shadow: 0 16px 32px rgba(22, 215, 255, 0.25);
}

.cmd-button--secondary {
	border-color: rgba(255, 255, 255, 0.12);
	background: rgba(255, 255, 255, 0.04);
	color: var(--text);
}

.cmd-button--ghost {
	border-color: rgba(22, 215, 255, 0.28);
	background: rgba(22, 215, 255, 0.08);
	color: var(--text);
}

.cmd-hero {
	padding: 56px 0 36px;
}

.cmd-hero__panel {
	position: relative;
	display: grid;
	grid-template-columns: 1.08fr 0.92fr;
	gap: 36px;
	padding: 54px;
	border-radius: 36px;
	background:
		linear-gradient(180deg, rgba(14, 28, 52, 0.92), rgba(7, 16, 29, 0.92)),
		linear-gradient(135deg, rgba(22, 215, 255, 0.15), transparent 50%);
	border: 1px solid rgba(120, 217, 255, 0.14);
	box-shadow: var(--glow);
	overflow: hidden;
}

.cmd-hero__panel::before {
	content: "";
	position: absolute;
	inset: auto auto -80px -10%;
	width: 120%;
	height: 180px;
	background: radial-gradient(circle at center, rgba(67, 243, 210, 0.35), transparent 70%);
	filter: blur(28px);
	opacity: 0.6;
}

.cmd-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.06);
	color: var(--muted);
	font-size: 0.8rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.cmd-eyebrow::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--teal);
	box-shadow: 0 0 18px rgba(67, 243, 210, 0.8);
}

.cmd-hero h1 {
	margin: 18px 0 18px;
	font-size: clamp(2.75rem, 6vw, 5rem);
	line-height: 0.96;
	letter-spacing: -0.05em;
	max-width: 11ch;
}

.cmd-hero h1 span {
	background: linear-gradient(135deg, #ffffff 0%, #5bdcff 35%, #3d75ff 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

.cmd-lead {
	max-width: 56ch;
	color: var(--muted);
	font-size: 1.04rem;
}

.cmd-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 24px;
}

.cmd-hero__meta {
	display: flex;
	gap: 24px;
	flex-wrap: wrap;
	margin-top: 24px;
	color: var(--muted);
	font-size: 0.92rem;
}

.cmd-hero__visual {
	position: relative;
	min-height: 420px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.cmd-orb {
	position: absolute;
	border-radius: 50%;
	filter: blur(1px);
}

.cmd-orb--one {
	width: 310px;
	height: 310px;
	background: radial-gradient(circle at 30% 30%, rgba(22, 215, 255, 0.85), rgba(22, 215, 255, 0.08) 62%, transparent 72%);
	top: 28px;
	right: 20px;
}

.cmd-orb--two {
	width: 250px;
	height: 250px;
	background: radial-gradient(circle at 55% 45%, rgba(67, 243, 210, 0.65), rgba(67, 243, 210, 0.08) 58%, transparent 70%);
	bottom: 38px;
	left: 20px;
}

.cmd-device {
	position: relative;
	z-index: 1;
	width: min(100%, 500px);
	aspect-ratio: 1 / 0.84;
	border-radius: 32px;
	padding: 20px;
	background: linear-gradient(160deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.02));
	border: 1px solid rgba(255, 255, 255, 0.12);
	box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
}

.cmd-device__screen {
	position: relative;
	height: 100%;
	border-radius: 24px;
	overflow: hidden;
	background:
		radial-gradient(circle at 30% 35%, rgba(255, 187, 118, 0.95), transparent 24%),
		radial-gradient(circle at 68% 42%, rgba(22, 215, 255, 0.85), transparent 22%),
		linear-gradient(145deg, rgba(15, 40, 74, 0.96), rgba(8, 18, 36, 0.96));
}

.cmd-device__screen::before {
	content: "";
	position: absolute;
	inset: 14% 10% auto auto;
	width: 150px;
	height: 230px;
	border-radius: 24px;
	transform: rotate(16deg);
	background: linear-gradient(160deg, #d269ff, #ffb85f 55%, #4dd0ff);
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}

.cmd-device__screen::after {
	content: "COM MOTION";
	position: absolute;
	left: 34px;
	bottom: 34px;
	padding: 18px 22px;
	border-radius: 18px;
	font-size: 1.2rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	background: rgba(255, 255, 255, 0.88);
	color: #0a1730;
	box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

.cmd-floating-badge {
	position: absolute;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 74px;
	height: 74px;
	border-radius: 24px;
	font-size: 1.8rem;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.7));
	box-shadow: 0 16px 28px rgba(0, 0, 0, 0.18);
}

.cmd-floating-badge--chat {
	left: -10px;
	bottom: 88px;
}

.cmd-floating-badge--heart {
	right: -6px;
	bottom: 54px;
}

.cmd-section {
	padding: 38px 0;
}

.cmd-section-title {
	margin: 0 0 20px;
	font-size: clamp(2rem, 4vw, 3rem);
	line-height: 1.02;
	letter-spacing: -0.04em;
}

.cmd-section-title span {
	color: var(--cyan);
}

.cmd-section-lead {
	margin: 0;
	color: var(--muted);
	max-width: 58ch;
}

.cmd-trusted {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 24px;
	align-items: center;
}

.cmd-trusted__copy {
	font-size: clamp(1.7rem, 3vw, 2.4rem);
	line-height: 1.05;
	letter-spacing: -0.04em;
}

.cmd-trusted__copy strong {
	color: var(--cyan);
}

.cmd-logo-row {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 14px;
}

.cmd-logo-pill {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 74px;
	padding: 14px;
	border-radius: 18px;
	text-align: center;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(255, 255, 255, 0.06);
	color: rgba(255, 255, 255, 0.86);
	font-weight: 700;
	letter-spacing: 0.01em;
}

.cmd-card {
	position: relative;
	padding: 34px;
	border-radius: var(--radius-lg);
	background:
		linear-gradient(180deg, rgba(14, 28, 52, 0.95), rgba(7, 16, 29, 0.92)),
		radial-gradient(circle at top left, rgba(22, 215, 255, 0.18), transparent 40%);
	border: 1px solid var(--line);
	box-shadow: var(--glow);
	overflow: hidden;
}

.cmd-card::before {
	content: "";
	position: absolute;
	inset: auto -10% -26% -10%;
	height: 160px;
	background: radial-gradient(circle at center, rgba(22, 215, 255, 0.18), transparent 65%);
}

.cmd-performance {
	margin-top: 18px;
}

.cmd-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
	margin-top: 28px;
}

.cmd-stat {
	position: relative;
	padding: 22px;
	border-radius: 22px;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
	border: 1px solid rgba(255, 255, 255, 0.08);
	min-height: 170px;
}

.cmd-stat__value {
	font-size: clamp(1.8rem, 3vw, 2.8rem);
	font-weight: 800;
	letter-spacing: -0.04em;
}

.cmd-stat__label {
	margin-top: 10px;
	color: var(--muted);
	font-size: 0.92rem;
	max-width: 18ch;
}

.cmd-grid {
	display: grid;
	grid-template-columns: 1.05fr 0.95fr;
	gap: 24px;
	margin-top: 24px;
}

.cmd-feature {
	min-height: 340px;
}

.cmd-feature__visual,
.cmd-process__visual {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 48%;
	height: 100%;
	pointer-events: none;
}

.cmd-feature__visual::before,
.cmd-feature__visual::after,
.cmd-process__visual::before,
.cmd-process__visual::after {
	content: "";
	position: absolute;
}

.cmd-feature__visual::before {
	right: 20px;
	bottom: 30px;
	width: 150px;
	height: 150px;
	border-radius: 28px;
	background: linear-gradient(145deg, #8af5ff, #6de27d);
	box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

.cmd-feature__visual::after {
	right: 86px;
	bottom: 108px;
	width: 190px;
	height: 120px;
	border-radius: 18px;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.02)),
		radial-gradient(circle at 20% 30%, rgba(22, 215, 255, 0.36), transparent 40%);
	border: 1px solid rgba(255, 255, 255, 0.1);
	transform: rotate(-4deg);
}

.cmd-process__visual::before {
	left: 28px;
	right: 28px;
	bottom: 56px;
	height: 10px;
	border-radius: 999px;
	background: linear-gradient(90deg, rgba(22, 215, 255, 0.2), rgba(67, 243, 210, 0.8), rgba(47, 123, 255, 0.25));
	box-shadow: 0 0 24px rgba(67, 243, 210, 0.35);
}

.cmd-process__visual::after {
	left: 52px;
	right: 52px;
	bottom: 94px;
	height: 120px;
	background:
		radial-gradient(circle at 18% 64%, rgba(22, 215, 255, 0.9) 0 28px, transparent 29px),
		radial-gradient(circle at 50% 38%, rgba(67, 243, 210, 0.9) 0 28px, transparent 29px),
		radial-gradient(circle at 82% 64%, rgba(255, 192, 74, 0.95) 0 28px, transparent 29px);
}

.cmd-card h2,
.cmd-card h3 {
	margin: 0 0 12px;
	letter-spacing: -0.04em;
	line-height: 1.02;
}

.cmd-card p {
	margin: 0;
	max-width: 32ch;
	color: var(--muted);
}

.cmd-cta {
	margin-top: 22px;
	display: grid;
	grid-template-columns: 0.95fr 1.05fr;
	gap: 0;
	padding: 0;
	overflow: hidden;
}

.cmd-cta__art {
	position: relative;
	min-height: 280px;
	background:
		radial-gradient(circle at 40% 48%, rgba(255, 197, 120, 0.9), transparent 18%),
		radial-gradient(circle at 56% 54%, rgba(255, 217, 132, 0.82), transparent 13%),
		linear-gradient(135deg, rgba(22, 215, 255, 0.3), rgba(47, 123, 255, 0.06));
}

.cmd-cta__art::before {
	content: "";
	position: absolute;
	left: 8%;
	bottom: 12%;
	width: 280px;
	height: 110px;
	border-radius: 999px 999px 24px 24px;
	background: linear-gradient(160deg, #f7b267 0%, #e1864a 60%, #984a16 100%);
	transform: rotate(-12deg);
	box-shadow: 0 20px 30px rgba(0, 0, 0, 0.25);
}

.cmd-cta__art::after {
	content: "";
	position: absolute;
	left: 34%;
	bottom: 38%;
	width: 110px;
	height: 110px;
	border-radius: 50%;
	background: radial-gradient(circle at 30% 30%, rgba(67, 243, 210, 0.95), rgba(67, 243, 210, 0));
	filter: blur(4px);
}

.cmd-cta__copy {
	padding: 42px;
}

.cmd-footer {
	padding: 26px 0 44px;
}

.cmd-footer__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	color: var(--muted);
	font-size: 0.92rem;
}

.cmd-footer__links,
.cmd-footer__social {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.cmd-social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.08);
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 1100px) {
	.cmd-hero__panel,
	.cmd-trusted,
	.cmd-grid,
	.cmd-cta {
		grid-template-columns: 1fr;
	}

	.cmd-logo-row,
	.cmd-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.cmd-feature__visual,
	.cmd-process__visual {
		position: relative;
		width: 100%;
		height: 180px;
		margin-top: 28px;
	}
}

@media (max-width: 760px) {
	.cmd-header {
		position: static;
	}

	.cmd-header__inner {
		flex-direction: column;
		align-items: stretch;
	}

	.cmd-nav {
		justify-content: space-between;
		flex-wrap: wrap;
	}

	.cmd-hero {
		padding-top: 24px;
	}

	.cmd-hero__panel,
	.cmd-card,
	.cmd-cta__copy {
		padding: 28px;
	}

	.cmd-logo-row,
	.cmd-stats {
		grid-template-columns: 1fr;
	}

	.cmd-device {
		aspect-ratio: 1 / 1;
	}

	.cmd-footer__inner {
		flex-direction: column;
		align-items: flex-start;
	}
}
