/* ============================================
   DREAMHUB - Apple-style product showcase page (DARK theme)
   ============================================ */

:root {
	--dh-bg: #0a0a0f;
	--dh-bg-soft: #15151c;
	--dh-bg-elev: #1c1c26;
	--dh-bg-dark: #000000;
	--dh-bg-deep: #050509;
	--dh-text: #f5f5f7;
	--dh-text-muted: #a1a1aa;
	--dh-text-dim: #6e6e76;
	--dh-link: #2997ff;
	--dh-link-hover: #5cb0ff;
	--dh-divider: rgba(255, 255, 255, 0.08);
	--dh-border: rgba(255, 255, 255, 0.10);
	--dh-radius: 18px;
	--dh-max-width: 1200px;
}

body#page-dreamhub {
	background: var(--dh-bg);
	color: var(--dh-text);
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
	-webkit-font-smoothing: antialiased;
}

/* Force the global page-loader hidden on this page */
body#page-dreamhub .page-loader { display: none !important; }

/* ============================================
   GLOBAL NAVBAR - dark, sticky, matching homepage
   ============================================ */
body#page-dreamhub .ms-navbar {
	background: linear-gradient(180deg, rgba(10, 10, 15, 0.92) 0%, rgba(10, 10, 15, 0.65) 100%) !important;
	-webkit-backdrop-filter: saturate(180%) blur(20px);
	backdrop-filter: saturate(180%) blur(20px);
	border-bottom: 1px solid var(--dh-divider) !important;
	position: sticky;
	top: 0;
	z-index: 1100;
}
body#page-dreamhub .ms-navbar .ms-navbar-menu a {
	color: rgba(245, 245, 247, 0.92) !important;
}
body#page-dreamhub .ms-navbar .ms-navbar-menu a:hover {
	color: #ffffff !important;
}
body#page-dreamhub .ms-navbar .ms-login-btn {
	color: rgba(245, 245, 247, 0.92) !important;
}
body#page-dreamhub .ms-navbar .ms-signup-btn {
	background: #ffffff !important;
	color: #0a0a0f !important;
	border-radius: 999px;
}
body#page-dreamhub .ms-navbar .ms-signup-btn:hover {
	background: #e8e8ec !important;
}
body#page-dreamhub .ms-navbar .ms-mobile-toggle span {
	background: #ffffff !important;
}

/* ============================================
   APPLE-STYLE SUB-NAV (dark)
   ============================================ */
.dh-subnav {
	position: sticky;
	top: 64px;
	z-index: 1050;
	background: rgba(20, 20, 28, 0.78);
	-webkit-backdrop-filter: saturate(180%) blur(22px);
	backdrop-filter: saturate(180%) blur(22px);
	border-bottom: 1px solid var(--dh-divider);
	font-size: 13px;
}
.dh-subnav__inner {
	max-width: var(--dh-max-width);
	margin: 0 auto;
	padding: 0 22px;
	display: flex;
	align-items: center;
	gap: 22px;
	height: 44px;
}
.dh-subnav__brand {
	font-weight: 600;
	color: #ffffff;
	letter-spacing: -0.01em;
	font-size: 19px;
	margin-right: 6px;
	text-decoration: none;
	flex: 0 0 auto;
}
.dh-subnav__brand:hover { color: #ffffff; }
.dh-subnav__links {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	align-items: center;
	gap: 4px;
	overflow-x: auto;
	flex: 1 1 auto;
	scrollbar-width: none;
	-ms-overflow-style: none;
}
.dh-subnav__links::-webkit-scrollbar { display: none; }
.dh-subnav__links li { flex: 0 0 auto; }
.dh-subnav__links a {
	display: inline-block;
	padding: 6px 12px;
	color: rgba(245, 245, 247, 0.78);
	text-decoration: none;
	white-space: nowrap;
	border-radius: 8px;
	transition: color .15s ease, background .15s ease;
}
.dh-subnav__links a:hover {
	color: #ffffff;
	background: rgba(255, 255, 255, 0.08);
}
.dh-subnav__cta {
	flex: 0 0 auto;
	color: var(--dh-link);
	text-decoration: none;
	font-weight: 500;
}
.dh-subnav__cta:hover { color: var(--dh-link-hover); text-decoration: underline; }

/* ============================================
   HERO - dark
   ============================================ */
.dh-hero {
	background:
		radial-gradient(120% 80% at 50% -10%, #1a1a2e 0%, #0a0a0f 55%, #000 100%);
	color: var(--dh-text);
	padding: 96px 22px 60px;
	text-align: center;
	overflow: hidden;
	position: relative;
}
.dh-hero__eyebrow {
	font-size: 21px;
	color: var(--dh-text-muted);
	margin: 0 0 8px;
	font-weight: 400;
}
.dh-hero__title {
	font-size: clamp(40px, 6vw, 80px);
	line-height: 1.05;
	letter-spacing: -0.03em;
	font-weight: 700;
	margin: 0 0 18px;
	color: #ffffff;
}
.dh-hero__sub {
	font-size: clamp(20px, 2.2vw, 28px);
	line-height: 1.25;
	color: #e5e5ea;
	max-width: 760px;
	margin: 0 auto 26px;
	font-weight: 400;
}
.dh-hero__ctas {
	display: flex;
	gap: 26px;
	justify-content: center;
	flex-wrap: wrap;
	font-size: 17px;
}
.dh-hero__ctas a {
	color: var(--dh-link);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 4px;
}
.dh-hero__ctas a:hover { text-decoration: underline; color: var(--dh-link-hover); }
.dh-hero__ctas a::after { content: '\203A'; font-size: 1.2em; margin-left: 2px; }

.dh-hero__art {
	margin: 44px auto 0;
	max-width: 1180px;
	border-radius: 24px;
	overflow: hidden;
	position: relative;
}
.dh-hero__art::after {
	content: '';
	position: absolute;
	left: 50%;
	bottom: -8%;
	width: 70%;
	height: 40%;
	transform: translateX(-50%);
	background: radial-gradient(closest-side, rgba(41, 151, 255, 0.25), transparent 70%);
	filter: blur(18px);
	z-index: -1;
	pointer-events: none;
}
.dh-hero__art img {
	width: 100%;
	height: auto;
	display: block;
}

/* ============================================
   PRODUCT PANELS - all dark variants
   ============================================ */
.dh-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	padding: 12px;
	max-width: 100%;
	margin: 0 auto;
	background: var(--dh-bg);
}
@media (max-width: 768px) {
	.dh-grid { grid-template-columns: 1fr; }
}

.dh-panel {
	position: relative;
	border-radius: var(--dh-radius);
	overflow: hidden;
	min-height: 580px;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: center;
	text-align: center;
	padding: 60px 32px 0;
	/* Dark radial that bottoms out near-black so the product renders blend in seamlessly */
	background:
		radial-gradient(120% 85% at 50% 0%, #17171f 0%, #101017 55%, #0a0a0f 100%);
	color: var(--dh-text);
	isolation: isolate;
	border: 1px solid var(--dh-border);
	transition: transform .35s cubic-bezier(.22,.61,.36,1), border-color .35s ease, box-shadow .35s ease;
}
.dh-panel:hover {
	transform: translateY(-4px);
	border-color: rgba(255, 255, 255, 0.18);
	box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.75);
}

.dh-panel--dark {
	background:
		radial-gradient(120% 85% at 50% 0%, #0e0e14 0%, #060609 60%, #000 100%);
}
.dh-panel--soft {
	background:
		radial-gradient(120% 80% at 50% 0%, #20202b 0%, #14141c 60%, #0a0a0f 100%);
}
.dh-panel--gradient {
	background:
		radial-gradient(120% 80% at 50% 0%, #2a2a45 0%, #14141f 60%, #050509 100%);
}

.dh-panel--full {
	grid-column: 1 / -1;
	min-height: 620px;
}

.dh-panel__eyebrow {
	font-size: 16px;
	margin: 0 0 8px;
	color: var(--dh-text-muted);
	font-weight: 500;
	letter-spacing: -0.01em;
}
.dh-panel__title {
	font-size: clamp(28px, 3.4vw, 48px);
	line-height: 1.08;
	letter-spacing: -0.02em;
	font-weight: 700;
	margin: 0 0 12px;
	color: #ffffff;
}
.dh-panel__copy {
	font-size: 19px;
	line-height: 1.4;
	max-width: 520px;
	margin: 0 auto 18px;
	color: #e5e5ea;
	font-weight: 400;
}

.dh-panel__ctas {
	display: flex;
	gap: 22px;
	justify-content: center;
	flex-wrap: wrap;
	font-size: 17px;
}
.dh-panel__ctas a {
	color: var(--dh-link);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	transition: color .15s ease;
}
.dh-panel__ctas a:hover { text-decoration: underline; color: var(--dh-link-hover); }
.dh-panel__ctas a::after { content: '\203A'; font-size: 1.2em; margin-left: 2px; }

.dh-panel__media {
	margin-top: auto;
	width: 100%;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	overflow: hidden;
	position: relative;
}
/* Soft spotlight glow behind the product render */
.dh-panel__media::before {
	content: '';
	position: absolute;
	left: 50%;
	bottom: 6%;
	width: 78%;
	height: 70%;
	transform: translateX(-50%);
	background: radial-gradient(closest-side, rgba(41, 151, 255, 0.20) 0%, rgba(41, 151, 255, 0.06) 45%, transparent 75%);
	filter: blur(6px);
	z-index: -1;
	opacity: 0.85;
	transition: opacity .35s ease;
	pointer-events: none;
}
.dh-panel:hover .dh-panel__media::before { opacity: 1; }
.dh-panel__media img {
	max-width: 92%;
	height: auto;
	display: block;
	object-fit: contain;
	transform: translateZ(0);
	transition: transform .5s cubic-bezier(.22,.61,.36,1);
}
.dh-panel:hover .dh-panel__media img { transform: scale(1.035); }
.dh-panel--full .dh-panel__media img {
	max-height: 420px;
	width: auto;
	max-width: 86%;
}

/* Background-image variant: a hero scene fills the panel */
.dh-panel--scene {
	background-size: cover;
	background-position: center;
	color: #ffffff;
	justify-content: flex-start;
}
.dh-panel--scene::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.2) 45%, rgba(0, 0, 0, 0.6) 100%);
	z-index: -1;
}
.dh-panel--scene .dh-panel__title,
.dh-panel--scene .dh-panel__copy { text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5); }

/* ============================================
   ECOSYSTEM STRIP - dark chips
   ============================================ */
.dh-strip {
	background: var(--dh-bg-deep);
	color: var(--dh-text);
	padding: 80px 22px 96px;
	text-align: center;
}
.dh-strip__head {
	max-width: 820px;
	margin: 0 auto 36px;
}
.dh-strip__title {
	font-size: clamp(28px, 3vw, 40px);
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 0 0 8px;
	color: #ffffff;
}
.dh-strip__lead {
	font-size: 18px;
	color: var(--dh-text-muted);
	margin: 0;
}
.dh-strip__grid {
	max-width: var(--dh-max-width);
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
}
@media (max-width: 900px) { .dh-strip__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .dh-strip__grid { grid-template-columns: repeat(2, 1fr); } }
.dh-chip {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 6px;
	padding: 22px 14px;
	border-radius: var(--dh-radius);
	background: var(--dh-bg-elev);
	border: 1px solid var(--dh-border);
	text-decoration: none;
	color: var(--dh-text);
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
	min-height: 130px;
}
.dh-chip:hover {
	background: #23232f;
	border-color: rgba(255, 255, 255, 0.18);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
	color: #ffffff;
}
.dh-chip__icon {
	width: 42px;
	height: 42px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	background: linear-gradient(135deg, #2997ff 0%, #5cb0ff 100%);
	color: #ffffff;
	font-size: 18px;
}
.dh-chip__name {
	font-weight: 600;
	font-size: 15px;
	letter-spacing: -0.01em;
	color: #ffffff;
}
.dh-chip__tag {
	font-size: 12px;
	color: var(--dh-text-muted);
}

/* ============================================
   CLOSING CTA - dark
   ============================================ */
.dh-closer {
	background:
		radial-gradient(80% 60% at 50% 0%, #1c1c2a 0%, #0a0a0f 60%, #050509 100%);
	color: var(--dh-text);
	text-align: center;
	padding: 90px 22px 100px;
}
.dh-closer h2 {
	font-size: clamp(30px, 3.4vw, 44px);
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 0 0 12px;
	color: #ffffff;
}
.dh-closer p {
	font-size: 19px;
	color: #c7c7d0;
	margin: 0 auto 26px;
	max-width: 720px;
}
.dh-closer__ctas {
	display: flex;
	justify-content: center;
	gap: 14px;
	flex-wrap: wrap;
}
.dh-closer__btn {
	display: inline-flex;
	align-items: center;
	padding: 12px 22px;
	border-radius: 999px;
	text-decoration: none;
	font-size: 15px;
	font-weight: 500;
	transition: transform .15s ease, background .15s ease;
}
.dh-closer__btn--primary {
	background: #ffffff;
	color: #0a0a0f;
}
.dh-closer__btn--primary:hover { background: #e8e8ec; }
.dh-closer__btn--ghost {
	background: rgba(255, 255, 255, 0.08);
	color: #ffffff;
	border: 1px solid rgba(255, 255, 255, 0.18);
}
.dh-closer__btn--ghost:hover { background: rgba(255, 255, 255, 0.16); }

/* ============================================
   FOOTER - keep contrast on dark page
   ============================================ */
body#page-dreamhub #footer.footer-two {
	background: #000000;
	color: #c7c7d0;
}
body#page-dreamhub #footer .footer-links a,
body#page-dreamhub #footer .site-info-menu a,
body#page-dreamhub #footer .copyright a,
body#page-dreamhub #footer .footer-social-link a {
	color: #e5e5ea;
}
body#page-dreamhub #footer .footer-links a:hover,
body#page-dreamhub #footer .site-info-menu a:hover {
	color: #ffffff;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
	.dh-hero { padding: 60px 18px 40px; }
	.dh-panel { padding: 44px 22px 0; min-height: 480px; }
	.dh-panel--full { min-height: 520px; }
	.dh-subnav { top: 56px; }
	.dh-subnav__inner { gap: 14px; }
}
