/**
 * Home page — new hero (Figma "Home", Oct 2026). [dt_home_hero]
 * Loaded on the front page only (inc/features/home-design.php).
 */

.dt-home {
	--dt-h-cyan: #00e7fd;
	--dt-h-cyan-rgb: 0, 231, 253;
	--dt-h-ink: #050c0d;
	--dt-h-yellow: #ffe500;
	--dt-h-w: min(1200px, calc(100vw - 32px));

	/* Wider than the boxed Elementor container: centre on the viewport. */
	width: var(--dt-h-w);
	max-width: none;
	margin-left: calc((100% - var(--dt-h-w)) / 2);
	margin-right: calc((100% - var(--dt-h-w)) / 2);
	color: #fff;
	font-family: 'Montserrat', sans-serif;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.dt-hero {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: 40px;
	align-items: center;
	padding: 24px 0 40px;
}

.dt-hero__eyebrow {
	display: flex;
	align-items: center;
	gap: 14px;
	margin: 0 0 14px;
	color: #e9f6f7;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.24em;
	text-transform: uppercase;
}

.dt-hero__eyebrow::before {
	content: "";
	width: 28px;
	height: 2px;
	background: var(--dt-h-cyan);
}

.dt-hero__title {
	margin: 0;
	color: #fff;
	font-size: clamp(32px, 3.4vw, 48px);
	font-weight: 800;
	line-height: 1.06;
	letter-spacing: -0.01em;
}

.dt-hero__tagline {
	margin: 10px 0 18px;
	color: var(--dt-h-cyan);
	font-size: clamp(22px, 2.4vw, 32px);
	font-weight: 800;
	line-height: 1.15;
}

.dt-hero__text {
	max-width: 560px;
	margin: 0 0 26px;
	color: #e3e9ea;
	font-size: 17px;
	line-height: 1.6;
}

.dt-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 14px;
}

.dt-home a.dt-hbtn,
.dt-home a.dt-hbtn:visited {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 52px;
	padding: 12px 26px;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	transition: box-shadow 0.2s, background-color 0.2s, transform 0.2s;
}

.dt-home a.dt-hbtn--solid,
.dt-home a.dt-hbtn--solid:visited {
	background: var(--dt-h-cyan);
	border: 2px solid var(--dt-h-cyan);
	color: var(--dt-h-ink);
	min-width: 190px;
}

.dt-home a.dt-hbtn--ghost,
.dt-home a.dt-hbtn--ghost:visited {
	background: rgba(5, 12, 13, 0.6);
	border: 2px solid var(--dt-h-cyan);
	color: #fff;
}

.dt-home a.dt-hbtn--first,
.dt-home a.dt-hbtn--first:visited {
	width: 100%;
	max-width: 520px;
	justify-content: space-between;
	background: rgba(5, 12, 13, 0.6);
	border: 2px solid var(--dt-h-cyan);
	color: var(--dt-h-yellow);
}

.dt-hbtn--first span {
	flex: 1;
	text-align: center;
}

.dt-hbtn--first em {
	color: var(--dt-h-cyan);
	font-style: normal;
}

.dt-hbtn__play {
	width: 28px;
	height: 28px;
	color: var(--dt-h-cyan);
	flex-shrink: 0;
}

.dt-hbtn__arrow {
	width: 22px;
	height: 22px;
	color: #fff;
	flex-shrink: 0;
}

.dt-home a.dt-hbtn:hover,
.dt-home a.dt-hbtn:focus-visible {
	box-shadow: 0 0 18px rgba(var(--dt-h-cyan-rgb), 0.5);
	transform: translateY(-1px);
	outline: none;
}

.dt-home a.dt-hbtn--solid:hover { color: var(--dt-h-ink); }
.dt-home a.dt-hbtn--ghost:hover { color: #fff; }
.dt-home a.dt-hbtn--first:hover { color: var(--dt-h-yellow); }

/* Right column */

.dt-hero__media {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.dt-hero__card {
	width: 100%;
	padding: 14px 14px 0;
	background: rgba(4, 10, 12, 0.75);
	border: 2px solid rgba(var(--dt-h-cyan-rgb), 0.85);
	border-radius: 14px;
	box-shadow: 0 0 22px rgba(var(--dt-h-cyan-rgb), 0.35);
	overflow: hidden;
}

.dt-hero__card-title {
	margin: 0 0 10px;
	color: #fff;
	font-size: clamp(18px, 1.8vw, 24px);
	font-weight: 800;
	letter-spacing: 0.01em;
	text-align: center;
	text-transform: uppercase;
}

.dt-hero__card-title span {
	color: var(--dt-h-cyan);
}

.dt-hero__video {
	display: block;
	width: calc(100% + 28px);
	margin: 0 -14px;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	background: #000;
}

.dt-hero__devices-title {
	margin: 18px 0 8px;
	color: #fff;
	font-size: clamp(20px, 2vw, 26px);
	font-weight: 700;
	text-align: center;
}

.dt-hero__devices {
	width: min(100%, 420px);
	height: auto;
}

/* ==========================================================================
   Feature strip
   ========================================================================== */

.dt-feat {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	margin: 0 0 48px;
	padding: 18px 0;
	list-style: none;
	background: rgba(3, 8, 10, 0.72);
	border-top: 1px solid rgba(var(--dt-h-cyan-rgb), 0.25);
	border-bottom: 1px solid rgba(var(--dt-h-cyan-rgb), 0.25);
}

.dt-feat__item {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	padding: 4px 16px;
	color: #fff;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
}

.dt-feat__item + .dt-feat__item {
	border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.dt-feat__item span {
	max-width: 120px;
}

.dt-feat__icon {
	width: 52px;
	height: 52px;
	flex-shrink: 0;
	filter: drop-shadow(0 0 6px rgba(var(--dt-h-cyan-rgb), 0.35));
}

/* ==========================================================================
   "Everything You Need to Master Every Song"
   ========================================================================== */

.dt-everything {
	text-align: center;
}

.dt-everything__title {
	margin: 0;
	color: #fff;
	font-size: clamp(26px, 3vw, 38px);
	font-weight: 800;
	line-height: 1.15;
}

.dt-everything__sub {
	margin: 8px 0 22px;
	color: #e3e9ea;
	font-size: 17px;
}

.dt-everything__list {
	columns: 2;
	column-gap: 48px;
	margin: 0;
	padding: 28px 40px;
	list-style: none;
	text-align: left;
	background: rgba(3, 10, 12, 0.7);
	border: 1.5px solid rgba(var(--dt-h-cyan-rgb), 0.55);
	border-radius: 12px;
	box-shadow: 0 0 18px rgba(var(--dt-h-cyan-rgb), 0.18);
}

.dt-everything__list li {
	position: relative;
	break-inside: avoid;
	margin: 0 0 14px;
	padding-left: 40px;
	color: #eef3f4;
	font-size: 15px;
	line-height: 26px;
}

.dt-everything__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: -1px;
	width: 28px;
	height: 28px;
	background: url(/wp-content/uploads/2026/03/icon_tav3-copy.svg) center / contain no-repeat;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
	.dt-hero {
		grid-template-columns: 1fr;
		gap: 28px;
		text-align: center;
	}
	.dt-hero__eyebrow {
		justify-content: center;
	}
	.dt-hero__text {
		margin-left: auto;
		margin-right: auto;
	}
	.dt-hero__actions {
		justify-content: center;
	}
	.dt-home a.dt-hbtn--first {
		margin: 0 auto;
	}
	.dt-feat {
		grid-template-columns: repeat(2, 1fr);
		row-gap: 18px;
	}
	.dt-feat__item:nth-child(3) {
		border-left: 0;
	}
}

@media (max-width: 767px) {
	.dt-hero {
		padding-top: 8px;
	}
	.dt-hero__text {
		font-size: 15px;
	}
	.dt-hero__actions .dt-hbtn {
		flex: 1 1 100%;
	}
	.dt-feat__item {
		flex-direction: column;
		gap: 8px;
		text-align: center;
		font-size: 13px;
	}
	.dt-feat__icon {
		width: 44px;
		height: 44px;
	}
	.dt-everything__list {
		columns: 1;
		padding: 20px 18px;
	}
}

/* Keep the copy readable over bright frames of the background video. */
.dt-hero__eyebrow,
.dt-hero__title,
.dt-hero__tagline,
.dt-hero__text,
.dt-everything__title,
.dt-everything__sub {
	text-shadow: 0 2px 16px rgba(0, 0, 0, 0.75), 0 0 2px rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   [dt_home_community] — "Stop wasting time…" banner (Figma node 76:52)
   ========================================================================== */

.dt-community {
	--dt-c-cyan: #00e7fd;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	color: #fff;
	font-family: Montserrat, sans-serif;
	width: 100%;
	padding: clamp(32px, 5vw, 72px) 16px clamp(40px, 6vw, 96px);
	text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}

.dt-community__title,
.dt-community__join {
	margin: 0;
	color: #fff;
	font-family: inherit;
	font-weight: 800;
	font-size: clamp(24px, 3.4vw, 46px);
	line-height: 1.22;
	text-wrap: balance;
}

.dt-community__title {
	max-width: 21em;
}

.dt-community__stamp {
	position: relative;
	width: clamp(190px, 21vw, 280px);
	margin: clamp(36px, 5.5vw, 80px) 0 clamp(36px, 5.5vw, 80px);
	container-type: inline-size;
}

.dt-community__stamp img {
	display: block;
	width: 100%;
	height: auto;
}

.dt-community__users {
	position: absolute;
	left: 15.5%;
	right: 15.5%;
	top: 46%;
	font-weight: 700;
	font-size: 11.9cqi;
	line-height: 1.1;
	color: #fff;
}

.dt-community__social {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: clamp(28px, 3.6vw, 48px);
	list-style: none;
	margin: clamp(24px, 3.2vw, 44px) 0 0;
	padding: 0;
}

.dt-community__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	height: clamp(40px, 4.6vw, 60px);
	color: var(--dt-c-cyan) !important; /* site link colour is white */
	transition: transform 0.2s ease, color 0.2s ease;
}

.dt-community__icon svg {
	height: 100%;
	width: auto;
	fill: currentColor;
	filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
}

.dt-community__icon--yt svg { height: 80%; }

.dt-community__icon:hover,
.dt-community__icon:focus-visible {
	color: #b1fd00 !important;
	transform: translateY(-2px);
}

/* Hero video: thumbnail wrapper takes the full card width (video-thumbs.php). */
.dt-hero__card .dt-vthumb {
	width: calc(100% + 28px);
	margin: 0 -14px;
	border-radius: 0;
}
.dt-hero__card .dt-vthumb > .dt-hero__video {
	width: 100%;
	margin: 0;
}
